f042d749b0
Introduce NonterminalKind for more type-safe mbe parsing It encapsulate the (part of) the interface between the parser and macro by example (macro_rules) parser. The second bit is somewhat more general `parse_ast_fragment`, which is the reason why we keep some `parse_xxx` functions as public. |
||
---|---|---|
.. | ||
lexer | ||
parser | ||
Cargo.toml | ||
lib.rs | ||
validate_attr.rs |