public void AddProduction(SymbolId id) { _productions.Add(new Production(this, id)); }
public NonTerminalSymbol(SymbolId id, string name = null) { Id = id; Name = name; _productions = new List <Production>(); }