public override void CodeGen(CodeBuilder builder) { if (BaseExpression != null) { BaseExpression.CodeGen(builder); builder.AppendToken("."); builder.ForceNoWhitespace(); } builder.AppendToken(Function); builder.ForceNoWhitespace(); builder.AppendToken("("); builder.ForceNoWhitespace(); builder.BeginSeparatedList(","); foreach (var argument in Arguments) { argument.CodeGen(builder); builder.EndOfSeparatedListItem(); } builder.EndOfSeparatedList(); builder.AppendToken(")"); builder.EndOfStatement(); }
public override void CodeGen(CodeBuilder builder) { BaseExpression.CodeGen(builder); builder.AppendToken("["); builder.ForceNoWhitespace(); ElementExpression.CodeGen(builder); builder.AppendToken("]"); }