summaryrefslogtreecommitdiffhomepage
path: root/grammer.h
diff options
context:
space:
mode:
Diffstat (limited to 'grammer.h')
-rw-r--r--grammer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammer.h b/grammer.h
index 4f0d235..f6f9d95 100644
--- a/grammer.h
+++ b/grammer.h
@@ -55,6 +55,8 @@ private:
size_t CommonPrefix(const std::vector<Token>& tokens, const std::vector<std::string>& types);
void AddFirstNode();
bool AddRootNode();
+ void removeTokensUpTo(index_t token_id);
+ void removeTokensUpTo(index_t token_id, index_t node_id);
void RemoveLastNode();
void ChangeNodeType();
void TrackBack();