diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-02-20 23:26:57 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-02-20 23:26:57 +0100 |
commit | 10c2b7f9b6676dafd62d0eeda507b5ee5c6db216 (patch) | |
tree | 705885f41d9224e8678578e99db9f80af8136e94 /grammer.h | |
parent | ba8520d3435c75c2568c05f1333966a4c1a4d69b (diff) |
Grammar applied to lex (WIP)
Diffstat (limited to 'grammer.h')
-rw-r--r-- | grammer.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -73,4 +73,9 @@ public: void DumpTree(); }; +bool ChildIdIsToken(int32_t child_id); +index_t TokenIdFromChildId(int32_t child_id); +int32_t ChildIdFromTokenId(index_t token_id); + } // namespace Gram + |