diff options
Diffstat (limited to 'grammer.h')
-rw-r--r-- | grammer.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -102,5 +102,9 @@ bool ChildIdIsNode(int32_t child_id); // identity index_t TokenIdFromChildId(int32_t child_id); int32_t ChildIdFromTokenId(index_t token_id); +// only convenience functions +index_t NodeIdFromChildId(int32_t child_id); +int32_t ChildIdFromNodeId(index_t node_id); + } // namespace Gram |