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);
     }
 }
Exemple #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));
     }
 }