Skip to main content

Module syntax

Module syntax 

Source
Expand description

SyntaxKind — the kinds of CST tokens and nodes — and the rowan Language binding for badness’s BibTeX/BibLaTeX surface CST.

BibTeX is a distinct grammar from LaTeX, so it carries its own kind set and Language marker rather than reusing crate::syntax. The structure deliberately mirrors that module (#[repr(u16)], tokens first, nodes after, ROOT last + COUNT) so the two stay easy to compare.

Enums§

BibLang
The rowan language marker for badness’s BibTeX CST.
SyntaxKind
Kinds of tokens (terminals, from the lexer) and nodes (composites, from the parser) in the BibTeX CST.

Type Aliases§

SyntaxElement
SyntaxNode
SyntaxToken