Trait kalosm_sample::CreateParserState
source · pub trait CreateParserState: Parser {
// Required method
fn create_parser_state(&self) -> <Self as Parser>::PartialState;
}
Expand description
A trait for a parser with a default state.
Required Methods§
sourcefn create_parser_state(&self) -> <Self as Parser>::PartialState
fn create_parser_state(&self) -> <Self as Parser>::PartialState
Create the default state of the parser.