8000 Update lexing and parsing by udoprog · Pull Request #807 · rune-rs/rune · GitHub
[go: up one dir, main page]

Skip to content

Update lexing and parsing #807

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

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion assets/tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
variant: Whitespace
doc: whitespace.
# after this point comes high-level tokens used in grammar
- {kind: "syntax", variant: "Root", doc: "the root node of a parse tree"}
- {kind: "syntax", variant: "Root", doc: "a syntax root"}
- {kind: "syntax", variant: "Local", doc: "a variable declaration"}
- {kind: "syntax", variant: "Item", doc: "an item declaration"}
- {kind: "syntax", variant: "ItemEnum", doc: "an enum declaration"}
Expand Down Expand Up @@ -464,6 +464,7 @@
- {kind: "syntax", variant: "ClosureArguments", doc: "closure arguments"}
- {kind: "syntax", variant: "AnonymousObjectKey", doc: "an `#{` anonymous object key"}
- {kind: "syntax", variant: "Attribute", doc: "an attribute"}
- {kind: "syntax", variant: "InnerAttribute", doc: "an inner attribute"}
- {kind: "syntax", variant: "Modifiers", doc: "item modifiers, like `pub const`"}
- {kind: "syntax", variant: "ModifierCrate", doc: "the `(crate)` modifier"}
- {kind: "syntax", variant: "ModifierIn", doc: "the `(in <path>)` modifier"}
Expand Down
2 changes: 1 addition & 1 deletion crates/rune/Cargo.toml