pub trait Builder {
type Output;
// Required method
fn get_result(&mut self) -> Self::Output;
}
Expand description
Builds output during parsing by using semantic actions.
This trait is implemented by types that are in charge of building output of the parsing process (e.g. a parse tree).
Required Associated Types§
Required Methods§
sourcefn get_result(&mut self) -> Self::Output
fn get_result(&mut self) -> Self::Output
Returns the product of parsing. Usually the one and only element left on the result stack.