File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212### Addressing
1313
14- | Type | Description |
15- | ------------------- | --------------------------------- |
16- | ` StepId ` (u16) | 8-byte block index in Transitions |
17- | ` StringId ` (u16) | String Table index |
18- | ` TypeId ` (u16) | Type Definition index |
19- | ` NodeTypeId ` (u16) | Tree-sitter node type ID |
20- | ` NodeFieldId ` (u16) | Tree-sitter field ID |
14+ | Type | Description |
15+ | ------------------- | -------------------------------- |
16+ | ` StepId ` (u16) | 8-byte step index in Transitions |
17+ | ` StringId ` (u16) | String Table index |
18+ | ` TypeId ` (u16) | Type Definition index |
19+ | ` NodeTypeId ` (u16) | Tree-sitter node type ID |
20+ | ` NodeFieldId ` (u16) | Tree-sitter field ID |
2121
2222## Memory Layout
2323
@@ -72,7 +72,7 @@ struct Header {
7272 node_fields_count : u16 ,
7373 trivia_count : u16 ,
7474 type_defs_count : u16 ,
75- type_members_count : u16 , // Number of TypeMember blocks
75+ type_members_count : u16 , // Number of TypeMembers
7676 entrypoints_count : u16 ,
7777 transitions_count : u16 ,
7878}
You can’t perform that action at this time.
0 commit comments