Esempio n. 1
0
 public static BoundLabelStatement Label(SyntaxNode syntax, BoundLabel label)
 {
     return(new BoundLabelStatement(syntax, label));
 }
Esempio n. 2
0
 public static BoundWhileStatement While(SyntaxNode syntax, BoundExpression condition, BoundStatement body, BoundLabel breakLabel, BoundLabel continueLabel)
 {
     return(new BoundWhileStatement(syntax, condition, body, breakLabel, continueLabel));
 }
Esempio n. 3
0
 public static BoundConditionalGotoStatement GotoFalse(SyntaxNode syntax, BoundLabel label, BoundExpression condition)
 => new BoundConditionalGotoStatement(syntax, label, condition, jumpIfTrue: false);
Esempio n. 4
0
 public BoundGotoStatement(BoundLabel label)
 {
     Label = label;
 }
Esempio n. 5
0
 public BoundForStatement(SyntaxNode syntax, VariableSymbol variable, BoundExpression lowerBound, BoundExpression upperBound, BoundStatement body, BoundLabel breakLabel, BoundLabel continueLabel)
     : base(syntax, breakLabel, continueLabel)
 {
     Variable   = variable;
     LowerBound = lowerBound;
     UpperBound = upperBound;
     Body       = body;
 }
Esempio n. 6
0
 public BoundDoWhileStatement(SyntaxNode syntax, BoundStatement body, BoundExpression condition, BoundLabel breakLabel, BoundLabel continueLabel)
     : base(syntax, breakLabel, continueLabel)
 {
     Body      = body;
     Condition = condition;
 }
Esempio n. 7
0
 public static BoundGotoStatement Goto(BoundLabel label)
 {
     return(new BoundGotoStatement(label));
 }
Esempio n. 8
0
 public static BoundLabelStatement Label(BoundLabel label)
 {
     return(new BoundLabelStatement(label));
 }
Esempio n. 9
0
 public BoundLabelStatement(SyntaxNode syntax, BoundLabel label)
     : base(syntax)
 {
     Label = label;
 }
Esempio n. 10
0
 protected BoundLoopStatement(SyntaxNode syntax, BoundLabel breakLabel, BoundLabel continueLabel)
     : base(syntax)
 {
     BreakLabel    = breakLabel;
     ContinueLabel = continueLabel;
 }