Exemplo n.º 1
0
 public Production(Identifier name,
                   ProductionAttr?attr,
                   ProdDefList definitions)
 {
     this.name        = name;
     this.attr        = attr;
     this.definitions = definitions;
 }
Exemplo n.º 2
0
 public static ProdDefList Add(ProdDefList list, ProductionExprList exprs) =>
 Add(list, new ProdDef(exprs));
Exemplo n.º 3
0
 public Production(Token name,
                   ProductionAttr?attr,
                   ProdDefList definitions)
     : this(new Identifier(name), attr, definitions)
 {
 }
Exemplo n.º 4
0
 public static ProdDefList Add(ProdDefList list, ProdDef prodDef)
 {
     list.Add(prodDef);
     return(list);
 }