GDScript grammar for tree-sitter.
- Build prebuilds
npm run genTest
npm run prebuild
- Build with node-gyp
npm run genTest
npm install node-gyp
node-gyp rebuild
Note: node-gyp-build
will check for binaries in both build
and prebuilds
directories.
- Format Specifiers
- Statements
- setget
- export
- const
- signal
- Literals
- @"NodePath/StringName"
-
$node and $ "../node"
- Operators
- is
- as
- Keyword Statements
- breakpoint
- Variable Attributes
- onready
- These can come after 'export' or before 'var'
- remote[sync]
- master[sync]
- puppet[sync]
- Function Attributes
- static
- remote[sync]
- master[sync]
- puppet[sync]
- Compound Statements
- match
- enum
- inheriting class constructor
- Expression
- call base class function