[][src]Trait arithmetic_parser::grammars::NumLiteral

pub trait NumLiteral: 'static + Copy + Num + Debug + Neg<Output = Self> + Pow<Self, Output = Self> {
    fn parse(input: Span) -> NomResult<Self>;
}

Numeric literal used in NumGrammars.

Required methods

fn parse(input: Span) -> NomResult<Self>

Tries to parse a literal.

Loading content...

Implementations on Foreign Types

impl NumLiteral for f32[src]

impl NumLiteral for f64[src]

Loading content...

Implementors

Loading content...