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

SyntaxBuilder Class

A base class for ExpressionBuilder and StatementBuilder.

Inheritance
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 Byte to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder.

AppendLiteral(Decimal, Boolean)

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

AppendLiteral(Double, Boolean)

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

AppendLiteral(Int16, Boolean)

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

AppendLiteral(Int32)

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

AppendLiteral(Int64, Boolean)

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

AppendLiteral(SByte, Boolean)

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

AppendLiteral(Single, Boolean)

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

AppendLiteral(String, Boolean)

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

AppendLiteral(UInt16, Boolean)

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

AppendLiteral(UInt32, Boolean)

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

AppendLiteral(UInt64, Boolean)

Appends a literal of type 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 Type.

AppendVerbatim(String)

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

ToString()