-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add EBNF grammar as doc comments for TerminalKind and NonterminalKind (…
…#1169) When generating documentation for `TerminalKind` and `NonterminalKind`, generate the EBNF grammar for the current variant and include that in the final output. This affects the Wit output and Rust output (using templates `cst.wit.jinja2` and `(terminal|nonterminal)_kind.rs.jinja2`). * [x] Depends on #1157 * [x] Depends on NomicFoundation/jco#3 Closes #1165
- Loading branch information
1 parent
6102886
commit 8eea9e5
Showing
17 changed files
with
12,593 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
crates/codegen/runtime/cargo/crate/src/runtime/cst/generated/nonterminal_kind.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
crates/codegen/runtime/cargo/crate/src/runtime/cst/generated/terminal_kind.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.