Struct nom_operator::OpParser [] [src]

pub struct OpParser<'a, OperatorEnum> where
    OperatorEnum: Sized + Copy + Debug
{ /* fields omitted */ }

Operator parser state Is generic over the Atom return type and the Operator type (Usually an enum)

Methods

impl<'a, OpEnum> OpParser<'a, OpEnum> where
    OpEnum: PartialEq + Copy + Debug
[src]

Creates a new Operator parser

Adds a new operator to the list

Parses a slice of bytes