public static BoundLabelStatement Label(SyntaxNode syntax, BoundLabel label) { return(new BoundLabelStatement(syntax, label)); }
public static BoundWhileStatement While(SyntaxNode syntax, BoundExpression condition, BoundStatement body, BoundLabel breakLabel, BoundLabel continueLabel) { return(new BoundWhileStatement(syntax, condition, body, breakLabel, continueLabel)); }
public static BoundConditionalGotoStatement GotoFalse(SyntaxNode syntax, BoundLabel label, BoundExpression condition) => new BoundConditionalGotoStatement(syntax, label, condition, jumpIfTrue: false);
public BoundGotoStatement(BoundLabel label) { Label = label; }
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; }
public BoundDoWhileStatement(SyntaxNode syntax, BoundStatement body, BoundExpression condition, BoundLabel breakLabel, BoundLabel continueLabel) : base(syntax, breakLabel, continueLabel) { Body = body; Condition = condition; }
public static BoundGotoStatement Goto(BoundLabel label) { return(new BoundGotoStatement(label)); }
public static BoundLabelStatement Label(BoundLabel label) { return(new BoundLabelStatement(label)); }
public BoundLabelStatement(SyntaxNode syntax, BoundLabel label) : base(syntax) { Label = label; }
protected BoundLoopStatement(SyntaxNode syntax, BoundLabel breakLabel, BoundLabel continueLabel) : base(syntax) { BreakLabel = breakLabel; ContinueLabel = continueLabel; }