mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
add a comment
This commit is contained in:
parent
fadd3f2c66
commit
c9502edefd
@ -13,6 +13,8 @@ pub use grammar::parse_tree::{NonterminalString, Span, TerminalString};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Grammar {
|
||||
// a unique prefix that can be appended to identifiers to ensure
|
||||
// that they do not conflict with any action strings
|
||||
pub prefix: String,
|
||||
pub action_fn_defns: Vec<ActionFnDefn>,
|
||||
pub productions: Map<NonterminalString, Vec<Production>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user