Skip to main content

Module ops

Module ops 

Source
Expand description

Operator precedence and associativity.

This is SANY’s table (tla2sany/parser/Operators.java). Every operator has a precedence range low..=high. Two operators conflict unless one range lies wholly above the other. Synonyms such as /\, \land and ∧ share one entry.

Structs§

OpInfo
Precedence information for one operator.

Enums§

Assoc
Associativity of an operator.
Fixity
How an operator is applied.

Functions§

canonical_spelling
The canonical spelling of an operator symbol, resolving synonyms.
lookup
Looks up the precedence of an operator by its spelling.