Skip to main content

render_ebnf_line

Function render_ebnf_line 

Source
pub(crate) fn render_ebnf_line(
    line: &str,
    nt_map: &HashMap<String, String>,
    current_html_path: &str,
) -> String
Expand description

Renders a single EBNF line, replacing nonterminal references with links and backtick-quoted terminals with styled <code> spans.