Crate nom_operator

Source
Expand description

This crate exposes convinient macros that can parse expressions based on set parameters

Re-exports§

pub use expr::Expr;
pub use operator::Operator;

Modules§

expr
Expression tree
operator
An Operator wrapper with extra info for parsing

Macros§

parse_operator
Parses an input expression according to the operators defined in the arguments

Structs§

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

Enums§

IResult
Holds the result of parsing functions