예제 #1
0
 public override Node CreateNode(string label) {
     if (Parser.IsId(label)) {
         var program = new ReformProgram(label);
         Programs.Add(program);
         return program;
     } else {
         return base.CreateNode(label);
     }
 }
예제 #2
0
 public override Node CreateNode(string label)
 {
     if (Parser.IsId(label))
     {
         var program = new ReformProgram(label);
         Programs.Add(program);
         return(program);
     }
     else
     {
         return(base.CreateNode(label));
     }
 }