Expand description
The newtype spine: zero-cost, transparent ids that never appear as a bare integer in new code.
Structsยง
- Byte
Class Id - Index of a byte class into
ClassTable. - Minterm
Id - Identifier of a minterm (a byte-equivalence class in a collapsed alphabet).
- NodeId
- Index of a node in the arena IR.
NodeId(0)is a valid node; range is checked on decode. - StateId
- Index of a state in the reference engine (dense
0..n;StateId(0)is canonical DEAD). - TokenId
- Identifier of a vocabulary token.
- Trie
Node Id - Index of a node in a vocabulary trie.
TrieNodeId(0)is the root.