[−][src]Trait arithmetic_parser::Grammar
Unites all necessary parsers to form a complete grammar definition.
Associated Types
type Lit: Clone + Debug
[−]
Type of the literal used in the grammar.
type Type: Clone + Debug
[−]
Type of the type declaration used in the grammar.
Associated Constants
Required methods
fn parse_literal(input: Span) -> NomResult<Self::Lit>
[−]
Attempts to parse a literal.
Return value
The output should follow nom
conventions on errors / failures.
fn parse_type(input: Span) -> NomResult<Self::Type>
[−]
Attempts to parse a type hint.
Return value
The output should follow nom
conventions on errors / failures.