public SwitchStatement(HappySourceLocation startsAt, HappySourceLocation endsAt, ExpressionNodeBase switchExpression, SwitchCase[] cases, StatementBlock defaultCase) : base(startsAt, endsAt) { this.SwitchExpression = switchExpression; this.Cases = cases; this.DefaultStatementBlock = defaultCase; }
public IfStatement(HappySourceLocation startsAt, ExpressionNodeBase value, StatementBlock trueStatementBlock, StatementBlock falseStatementBlock) : base(startsAt, falseStatementBlock != null ? falseStatementBlock.Location : trueStatementBlock.Location) { _condition = value; _trueStatementBlock = trueStatementBlock; _falseStatementBlock = falseStatementBlock; }
public ForStatement(HappySourceLocation span, Identifier loopVariable, ExpressionNodeBase enumerable, ExpressionNodeBase between, ExpressionNodeBase where, StatementBlock loopBody) : base(span, loopBody.Location) { _loopVariable = loopVariable; _enumerable = enumerable; _between = between; _where = where != null ? new ForWhereClause(where.Location, _loopVariable.Text, where) : null; _loopBody = loopBody; }
protected LoopStatementBase(HappySourceLocation startsAt, HappySourceLocation endsAt) : base(startsAt, endsAt) { }
public Identifier(HappySourceLocation location, string text) { _location = location; _text = text; }
protected StatementNodeBase(HappySourceLocation startsAt, HappySourceLocation endsAt) : base(startsAt, endsAt) { }
public BreakStatement(HappySourceLocation location) : base(location) { }
public ContinueStatement(HappySourceLocation location) : base(location) { }
protected NamedAstNodeBase(HappySourceLocation startsAt, HappySourceLocation endsAt, Identifier name) : base(startsAt, endsAt) { this.Name = name; }
public LiteralExpression(HappySourceLocation span, object value) : base(span) { _value = value; }
public StatementBlock(HappySourceLocation startsAt, HappySourceLocation endsAt, AstNodeBase[] stmts) : base(startsAt, endsAt) { this.Statements = stmts; }
internal ScopeAstNodeBase(HappySourceLocation startsAt, HappySourceLocation endsAt) : base(startsAt, endsAt) { }
protected ExpressionNodeBase(HappySourceLocation startsAt, HappySourceLocation endsAt) : base(startsAt, endsAt) { }
protected ExpressionNodeBase(HappySourceLocation location) : base(location) { }
public NewObjectExpression(HappySourceLocation startsAt, HappySourceLocation endsAt, ExpressionNodeBase typeExpression, ExpressionNodeBase[] constructorArgs) : base(startsAt, endsAt) { this.TypeExpression = typeExpression; this.ConstructorAgs = constructorArgs; }
public VerbatimSection(HappySourceLocation span, string output) : base(span) { _text = output; }
public ReturnStatement(HappySourceLocation location, ExpressionNodeBase returnExp) : base(location, returnExp != null ? returnExp.Location : location) { this.ReturnExp = returnExp; }
public NullExpression(HappySourceLocation loc) : base(loc) { }
public WhileStatement(HappySourceLocation startsAt, ExpressionNodeBase condition, StatementBlock block) : base(startsAt, block.Location) { Block = block; this.Condition = condition; }
public DefStatement(HappySourceLocation startsAt, VariableDef[] variableDefs) : base(startsAt, variableDefs.Last().Location) { this.VariableDefs = variableDefs; }
public ArgumentList(HappySourceLocation location, ExpressionNodeBase[] arguments) : base(location) { this.Arguments = arguments; }
public Function(HappySourceLocation startsAt, Identifier name, FunctionParameterList parameterList, StatementBlock body) : base(startsAt, body.Location, name) { _parameterList = parameterList; _body = body; }
protected NamedExpressionNodeBase(HappySourceLocation startsAt, HappySourceLocation endsAt, Identifier identifier) : base(startsAt, endsAt) { _identifier = identifier; }
public UnexpectedToken(HappySourceLocation span) : base(span) { }
protected StatementNodeBase(HappySourceLocation location) : base(location) { }
public ForWhereClause(HappySourceLocation startsAt, string loopVariableName, ExpressionNodeBase expressionNode) : base(startsAt, expressionNode.Location) { LoopVariableName = loopVariableName; _expressionNode = expressionNode; }
public UseStatement(HappySourceLocation startsAt, HappySourceLocation endsAt, string[] namespaceSegments) : base(startsAt, endsAt) { this.NamespaceSegments = namespaceSegments; }
public FunctionParameterList(HappySourceLocation startsAt, HappySourceLocation endsAt, FunctionParameter[] parameters) : base(startsAt, endsAt) { _parameters = parameters; }
public FunctionCallExpression(HappySourceLocation startsAt, HappySourceLocation endsAt, Identifier templateIdentifier, ExpressionNodeBase[] arguments) : base(startsAt, endsAt, templateIdentifier) { _arguments = arguments; }
public LoadDirective(HappySourceLocation startsAt, HappySourceLocation endsAt, string assemblyName) : base(startsAt, endsAt) { this.AssemblyName = assemblyName; }