pub type F64Grammar = NumGrammar<f64>;
Expand description

Type alias for a grammar on f64 literals.

Aliased Type§

struct F64Grammar(/* private fields */);

Trait Implementations§

source§

impl<T: Debug> Debug for NumGrammar<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: NumLiteral> ParseLiteral for NumGrammar<T>

§

type Lit = T

Type of the literal used in the grammar.
source§

fn parse_literal(input: InputSpan<'_>) -> NomResult<'_, Self::Lit>

Attempts to parse a literal. Read more