Modern Hacklang introduced modules and the internal visibility modifier to mark methods and functions as only accessible from within the current module.
The Hacklang treesitter grammar doesn't support the internal visibility modifier yet. This diff addresses it.
Grammar tests pass:
tree-sitter generate
tree-sitter test
Requirements (place an x in each [ ])
[x] I've added tests for any new code and ran npm run test-corpus to make sure all tests pass.
[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
Summary
Modern Hacklang introduced modules and the internal visibility modifier to mark methods and functions as only accessible from within the current module.
The Hacklang treesitter grammar doesn't support the internal visibility modifier yet. This diff addresses it.
Grammar tests pass:
Requirements (place an
x
in each[ ]
)npm run test-corpus
to make sure all tests pass.