コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }