Make ParseTableBuilder a private class
This commit is contained in:
parent
73d8cb3722
commit
84a7afbca5
4 changed files with 63 additions and 67 deletions
|
|
@ -8,7 +8,7 @@ typedef std::unordered_set<ParseAction> actions;
|
|||
|
||||
Describe(ParseTableBuilder_test) {
|
||||
Grammar grammar = test_grammars::arithmetic();
|
||||
ParseTable table = ParseTableBuilder::build_table(grammar);
|
||||
ParseTable table = build_tables(grammar);
|
||||
|
||||
It(has_the_right_starting_state) {
|
||||
AssertThat(table.actions_for(0), Equals(unordered_map<string, actions>({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue