Skip to main content

render_appendix

Function render_appendix 

Source
pub fn render_appendix(grammar_json: &str) -> String
Expand description

Render the complete grammar reference appendix (site/src/content/docs/book/reference/grammar-appendix.md): the generated-file header, the notation note, the full ebnf block of every production (display names, trivial wrappers collapsed), and the Tokens & trivia section.