-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better typed api #105
Merged
oberblastmeister
merged 33 commits into
nix-community:master
from
oberblastmeister:typed
Jul 23, 2022
Merged
Better typed api #105
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9f56e12
more types; add match_ast; literalkind
oberblastmeister 61211a3
use rowan AstNode
oberblastmeister 3743c07
transition AST type to Parse type
oberblastmeister 6706b12
implement From for enum AstNodes
oberblastmeister 6590dea
start literal node in string and add comment
oberblastmeister ae449c1
distinguish between keys and attrs
oberblastmeister acabaa3
use rowan AstChildren
oberblastmeister 46148ba
fix macro indentation
oberblastmeister 57bb3f1
api improvements
oberblastmeister 8a3ad43
use Root::parse function
oberblastmeister f9d4281
update tests to make string a literal also
oberblastmeister 91717e2
separate string related stuff from value.rs
oberblastmeister e2c669f
Update src/ast/expr_ext.rs
oberblastmeister dc58b01
Update src/ast/expr_ext.rs
oberblastmeister 3f8bfb6
remove value.rs
oberblastmeister 460b07e
delete types.rs
oberblastmeister ef22d2c
update examples
oberblastmeister 62052fb
Update src/ast/str_util.rs
oberblastmeister 3e6c10f
don't put NODE_STRING under NODE_LITERAL
oberblastmeister 1ea3f7b
add catch all case for macro
oberblastmeister f0fda83
Better macro syntax
oberblastmeister 9a1cee9
updae list-fns example
oberblastmeister fcaa745
change token macros
oberblastmeister 4bb1ccd
Update examples/list-fns.rs
oberblastmeister 141ea37
port some tests
oberblastmeister b0a5d72
port another test
oberblastmeister d87d171
ok
oberblastmeister 63952e3
update match_ast documentation
oberblastmeister 340fd89
delete stray file
oberblastmeister 059206d
token getters for InheritFrom
oberblastmeister 518df53
node improvments
oberblastmeister ecd0ca8
rename EntryHolder to HasEntry
oberblastmeister 7ef4dd2
make children_tokens generic
oberblastmeister File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.