Make ParseTable#states public

This commit is contained in:
Max Brunsfeld 2013-12-15 19:19:39 -08:00
parent 928f4f9deb
commit 99a6561db2
2 changed files with 1 additions and 5 deletions

View file

@ -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;