public static ParseTable Build() { var builder = new ParseTableBuilder(); var table = new ParseTable(); table.SetActionsTable(builder.CreateActionsTable()); table.SetGoToTable(builder.CreateGoToTable()); table.SetProductionsInfoTable(builder.CreateProductionsInfo()); return table; }
public Parser() { ErrorDispatcher = new ErrorsEventDispatcher(); table = ParseTableBuilder.Build(); scanner = new Scanner(); }