コード例 #1
0
 public IfElseAstNode(BasicAstNode cond, CodeBlockAstNode ifBlock,
                      CodeBlockAstNode?elseBlock)
 {
     IfCondition = cond;
     IfBlock     = ifBlock;
     ElseBlock   = elseBlock;
 }
コード例 #2
0
 public bool Equals(CodeBlockAstNode other)
 {
     return(EqUtil.EnumerableEqual(Statements, other.Statements));
 }
コード例 #3
0
 public LoopAstNode(BasicAstNode condition, CodeBlockAstNode body)
 {
     Condition = condition;
     Body      = body;
 }