[−][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,
input: Span<'_>
) -> Result<Block<'_, Self>, Spanned<'_, Error<'_>>> where
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.