public TreeGenerator(ParsingTable parsingTable, List <SyntaxToken> tokens, Grammar grammar) { ParsingTable = parsingTable; Tokens = tokens; Grammar = grammar; position = 0; length = Tokens.Count; }
public static void CreateParseTable() { if (parseTable == null) { parseTable = new ParsingTable(grammar); } else { return; } parseTable.createParsingTable(statesTransision); }