示例#1
0
 public BoundLabelStatement(SyntaxNode syntax, BoundLabel label)
     : base(syntax)
 {
     Label = label;
 }
示例#2
0
 public static BoundConditionalGotoStatement GotoFalse(SyntaxNode syntax, BoundLabel label, BoundExpression condition)
 => new BoundConditionalGotoStatement(syntax, label, condition, jumpIfTrue: false);
示例#3
0
 public static BoundLabelStatement Label(SyntaxNode syntax, BoundLabel label)
 {
     return(new BoundLabelStatement(syntax, label));
 }
示例#4
0
 public static BoundWhileStatement While(SyntaxNode syntax, BoundExpression condition, BoundStatement body, BoundLabel breakLabel, BoundLabel continueLabel)
 {
     return(new BoundWhileStatement(syntax, condition, body, breakLabel, continueLabel));
 }