MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​Syntax­BuildersSyntax­Builder
Open sandboxFocus

SyntaxBuilder Class

A base class for ExpressionBuilder and StatementBuilder.

Inheritance
System.Object
SyntaxBuilder
Namespace: Metalama.Framework.Code.SyntaxBuilders
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public abstract class SyntaxBuilder : Object

Methods

Name Description
AppendExpression(IExpression)

Appends an expression to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the expression is given as an IExpression.

AppendExpression(IExpressionBuilder)

Appends an expression to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the expression is given as an IExpressionBuilder.

AppendExpression(Object)

Appends an expression to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the expression is a C# expression.

AppendLiteral(Byte, Boolean)

Appends a literal of type System.Byte to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Decimal, Boolean)

Appends a literal of type System.Decimal to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Double, Boolean)

Appends a literal of type System.Double to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Int16, Boolean)

Appends a literal of type System.Int16 to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Int32)

Appends a literal of type System.Int32 to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Int64, Boolean)

Appends a literal of type System.Int64 to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(SByte, Boolean)

Appends a literal of type System.SByte to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Single, Boolean)

Appends a literal of type System.Single to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(String, Boolean)

Appends a literal of type System.String to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(UInt16, Boolean)

Appends a literal of type System.UInt16 to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(UInt32, Boolean)

Appends a literal of type System.UInt32 to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(UInt64, Boolean)

Appends a literal of type System.UInt64 to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendTypeName(IType)

Appends a fully-qualified type name to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the type is given as an IType.

AppendTypeName(Type)

Appends a fully-qualified type name to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the type is given as a reflection System.Type.

AppendVerbatim(String)

Appends a string to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, without performing any modification to the input string.

ToString()