[−][src]Trait arithmetic_parser::GrammarExt
Extension trait for Grammar
used by the client applications.
Required methods
fn parse_statements(input: Span) -> Result<Block<Self>, Spanned<Error>> where
Self: Sized,
Self: Sized,
Parses a list of statements.
fn parse_streaming_statements(
input: Span
) -> Result<Block<Self>, Spanned<Error>> where
Self: Sized,
input: Span
) -> Result<Block<Self>, Spanned<Error>> where
Self: Sized,
Parses a potentially incomplete list of statements.