コード例 #1
0
 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();
 }
コード例 #2
0
 public Tabler(TableDumper dumper)
 {
     Dumper = dumper;
 }