public ForInStatement(Statement.Operation Opcode, Expression Collection, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint In, TextPoint LeftParen, TextPoint RightParen) :base(Opcode, Body, Location, LeftParen, RightParen) { this.Collection = Collection; this.HeaderLocation = HeaderLocation; this.In = In; }
public LoopStatement(Statement.Operation Opcode, Statement Body, TextSpan Location, TextPoint LeftParen, TextPoint RightParen) :base(Opcode,Location) { this.Body = Body; this.LeftParen = LeftParen; this.RightParen = RightParen; }
public LabelStatement(Identifier Label, Statement Labeled, TextSpan Location, TextPoint Colon) :base(Operation.Label,Location) { this.Label = Label; this.Labeled = Labeled; this.Colon = Colon; }
public DoStatement(Statement Body, Expression Condition, TextSpan Location, TextSpan HeaderLocation, TextPoint While, TextPoint LeftParen, TextPoint RightParen) :base(Operation.Do, Body, Location, LeftParen, RightParen) { this.While = While; this.Condition = Condition; this.HeaderLocation = HeaderLocation; }
public DeclarationForInStatement(VariableDeclaration Item, Expression Collection, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint In, TextPoint LeftParen, TextPoint RightParen) :base(Operation.DeclarationForIn,Collection,Body,Location,HeaderLocation,In,LeftParen,RightParen) { this.Item = Item; this.In = In; this.LeftParen = LeftParen; this.RightParen = RightParen; }
public WithStatement(Expression Scope, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint LeftParen, TextPoint RightParen) :base(Operation.With,Location) { this.LeftParen = LeftParen; this.RightParen = RightParen; this.Body = Body; this.HeaderLocation = HeaderLocation; this.Scope = Scope; }
public ForStatement(Statement.Operation Opcode, Expression Condition, Expression Increment, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint FirstSemicolon, TextPoint SecondSemicolon, TextPoint LeftParen, TextPoint RightParen) :base(Opcode,Body,Location,LeftParen,RightParen) { this.Condition = Condition; this.Increment = Increment; this.HeaderLocation = HeaderLocation; this.FirstSemicolon= FirstSemicolon; this.SecondSemicolon = SecondSemicolon; }
public IfStatement (Expression Condition, Statement IfBody, Statement ElseBody, TextSpan Location, TextSpan HeaderLocation, TextPoint LeftParen, TextPoint RightParen, TextPoint Else) : base (Operation.If, Location) { this.Condition = Condition; this.IfBody = IfBody; this.ElseBody = ElseBody; this.HeaderLocation = HeaderLocation; this.LeftParen = LeftParen; this.RightParen = RightParen; this.Else = Else; }
public ExpressionForInStatement(Expression Item, Expression Collection, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint In, TextPoint LeftParen, TextPoint RightParen) : base(Operation.ExpressionFor, Collection, Body, Location, HeaderLocation, In, LeftParen, RightParen) { this.Item = Item; }
public ReturnOrThrowStatement(Statement.Operation Opcode, Expression Value, TextSpan Location) : base(Opcode, Location) { this.Value = Value; }
public BreakOrContinueStatement(Statement.Operation Opcode, Identifier Label, TextSpan Location, TextPoint LabelLocation) : base(Opcode,Location) { this.Label = Label; this.labelLocation = LabelLocation; }
public ExpressionForStatement(Expression Initial, Expression Condition, Expression Increment, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint FirstSemicolon, TextPoint SecondSemicolon, TextPoint LeftParen, TextPoint RightParen) :base(Operation.ExpressionFor, Condition, Increment, Body, Location, HeaderLocation, FirstSemicolon, SecondSemicolon, LeftParen, RightParen) { this.Initial = Initial; }
public WhileStatement(Expression Condition, Statement Body, TextSpan Location, TextSpan HeaderLocation, TextPoint LeftParen, TextPoint RightParen) :base(Operation.While, Body, Location, LeftParen, RightParen) { this.HeaderLocation = HeaderLocation; this.Condition = Condition; }