public RawTabler(TableDumper dumper) : base(dumper) { NumberOfStates = dumper.Grammar.LR1Sets.Count; NumberOfTerminals = dumper.Grammar.PSymbols.Where(s => s is Terminal).Count(); NumberOfNonterminals = dumper.Grammar.PSymbols.Where(s => s is Nonterminal).Count(); }
public Tabler(TableDumper dumper) { Dumper = dumper; }