public SLRParser(Semantic semantic, Syntactic syntactic) { _tableParser = new TableParser(); Generated = false; IsSLR = true; _semantic = semantic; _syntactic = syntactic; }
public LALRParser(Semantic semantic, Syntactic syntactic) { Generated = false; IsLALR = true; _semantic = semantic; _syntactic = syntactic; _tableParser = new TableParser(); states = new List <LRState>(); }