This repository was archived by the owner on Nov 3, 2025. It is now read-only.
Commit bc5b3a1
authored
Add support for internal visibility modifier (#67)
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.
Test Plan:
Grammar tests pass:
```
tree-sitter generate
tree-sitter test
```
Reviewers:
Subscribers:
Tasks:
Tags:1 parent fca1e29 commit bc5b3a1
File tree
5 files changed
+191881
-198166
lines changed- src
- test/corpus
5 files changed
+191881
-198166
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1091 | 1091 | | |
1092 | 1092 | | |
1093 | 1093 | | |
1094 | | - | |
| 1094 | + | |
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments