mirror of
https://github.com/soconnor0919/tree-sitter-hack-binary.git
synced 2026-02-04 23:56:33 -05:00
Initial commit: Tree-sitter grammar for Hack Binary language
This commit is contained in:
46
src/node-types.json
Normal file
46
src/node-types.json
Normal file
@@ -0,0 +1,46 @@
|
||||
[
|
||||
{
|
||||
"type": "binary_instruction",
|
||||
"named": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": false,
|
||||
"required": true,
|
||||
"types": [
|
||||
{
|
||||
"type": "bit_sequence",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "source_file",
|
||||
"named": true,
|
||||
"root": true,
|
||||
"fields": {},
|
||||
"children": {
|
||||
"multiple": true,
|
||||
"required": false,
|
||||
"types": [
|
||||
{
|
||||
"type": "binary_instruction",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "bit_sequence",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true,
|
||||
"extra": true
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user