public CondClauseNode(NodeArgs args, AstNode test, StatementListNode expressions) :base(args) { ChildNodes.Clear(); this.Role = "Clause"; Test = test; Test.Role = "Test"; ChildNodes.Add(Test); Expressions = expressions; Expressions.Role = "Command"; ChildNodes.Add(Expressions); }
public CondClauseNode(NodeArgs args, AstNode test, StatementListNode expressions) : base(args) { ChildNodes.Clear(); this.Role = "Clause"; Test = test; Test.Role = "Test"; ChildNodes.Add(Test); Expressions = expressions; Expressions.Role = "Command"; ChildNodes.Add(Expressions); }