Module xxcalc::parser [] [src]

Parser is a TokensProcessor, it takes Tokens in a classical infix form and transforms them into Reverse Polish Notation form for further evaluation.

Structs

Operator

Stores operator precedence and its associativity.

Parser

Parser takes Tokens in infix form and transforms them into Reverse Polish Notation. After such transformation tokens can be processed by TokensReducer.

Enums

OperatorAssociativity

Defines operator associativity.