forked from qwikifiers/qwik-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tree sitter to auto api (qwikifiers#984)
* feat(auto-api): adds tree sitter & query working tree-sitter instance and finally figured out how to query * feat(auto-api): saves tree-sitter query as obj * fix(auto-api): general minor improvements Adds better comments and rms console logs * feat(auto api): use AST instead of regex Adds tree-sitter to parse and query the file's AST instead of relying on regex. Unfortunately, because type declarations are object-like and type declarations can have have objects, regex cannot handle the recursive nature of TS types. An oversight that has been corrected. * fix(auto api): removes comment syntax from table text * fix(auto api): adds dependencies
- Loading branch information
1 parent
35c923e
commit f366873
Showing
3 changed files
with
8,332 additions
and
10,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.