Remove default_actions from ParseTable
This commit is contained in:
parent
3ca2e126be
commit
5d9dc71da1
4 changed files with 2 additions and 9 deletions
|
|
@ -50,7 +50,6 @@ namespace tree_sitter {
|
|||
public:
|
||||
ParseState();
|
||||
std::unordered_map<std::string, std::unordered_set<ParseAction>> actions;
|
||||
std::unordered_set<ParseAction> default_actions;
|
||||
std::unordered_set<std::string> expected_inputs() const;
|
||||
size_t lex_state_index;
|
||||
};
|
||||
|
|
@ -59,7 +58,6 @@ namespace tree_sitter {
|
|||
public:
|
||||
size_t add_state();
|
||||
void add_action(size_t state_index, std::string symbol_name, ParseAction action);
|
||||
void add_default_action(size_t state_index, ParseAction action);
|
||||
|
||||
std::vector<ParseState> states;
|
||||
std::unordered_set<std::string> symbol_names;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue