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