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: Copy + Debug> OpParser<'a, OpEnum>
[src]

Creates a new Operator parser

Adds a new operator to the list

Parses a slice of bytes