A base class for ExpressionBuilder and StatementBuilder.
Namespace: Metalama.Framework.Code.SyntaxBuilders
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public abstract class SyntaxBuilder
Methods
Name | Description |
---|---|
AppendExpression(IExpression) | Appends an expression to the StringBuilder, where the expression is given as an IExpression. |
AppendExpression(IExpressionBuilder) | Appends an expression to the StringBuilder, where the expression is given as an IExpressionBuilder. |
AppendExpression(dynamic?) | Appends an expression to the StringBuilder, where the expression is a C# expression. |
AppendLiteral(byte, bool) | Appends a literal of type byte to the StringBuilder. |
AppendLiteral(decimal, bool) | Appends a literal of type decimal to the StringBuilder. |
AppendLiteral(double, bool) | Appends a literal of type double to the StringBuilder. |
AppendLiteral(short, bool) | Appends a literal of type short to the StringBuilder. |
AppendLiteral(int) | Appends a literal of type int to the StringBuilder. |
AppendLiteral(long, bool) | Appends a literal of type long to the StringBuilder. |
AppendLiteral(sbyte, bool) | Appends a literal of type sbyte to the StringBuilder. |
AppendLiteral(float, bool) | Appends a literal of type float to the StringBuilder. |
AppendLiteral(string?, bool) | Appends a literal of type string to the StringBuilder. |
AppendLiteral(ushort, bool) | Appends a literal of type ushort to the StringBuilder. |
AppendLiteral(uint, bool) | Appends a literal of type uint to the StringBuilder. |
AppendLiteral(ulong, bool) | Appends a literal of type ulong to the StringBuilder. |
AppendTypeName(IType) | Appends a fully-qualified type name to the StringBuilder, where the type is given as an IType. |
AppendTypeName(Type) | Appends a fully-qualified type name to the StringBuilder, where the type is given as a reflection Type. |
AppendVerbatim(string) | Appends a string to the StringBuilder, without performing any modification to the input string. |
ToString() |