Make ParseTable#states public
This commit is contained in:
parent
928f4f9deb
commit
99a6561db2
2 changed files with 1 additions and 5 deletions
|
|
@ -75,10 +75,6 @@ namespace tree_sitter {
|
|||
symbol_names(symbol_names),
|
||||
states(vector<ParseState>()) {};
|
||||
|
||||
ParseState ParseTable::get_state(size_t index) const {
|
||||
return states[index];
|
||||
}
|
||||
|
||||
size_t ParseTable::add_state() {
|
||||
states.push_back(ParseState());
|
||||
return states.size() - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue