nom_language

Module precedence

Source
Expand description

Combinators to parse expressions with operator precedence.

Structs§

Enums§

  • Associativity for binary operators.
  • A single evaluation step.

Functions§

  • Runs the inner parser and transforms the result into a binary operator with the given precedence and associativity.
  • Applies a parser multiple times separated by another parser.
  • Parses an expression with operator precedence.
  • Runs the inner parser and transforms the result into an unary operator with the given precedence.