Package-level declarations
Types
A logic (a.k.a. Prolog) operator declaration, associating a functor with a specifier (fixity and associativity) and a priority (lower binds tighter). Operators are what let a TermFormatter render, e.g., +(1, 2) as 1 + 2, and what an OperatorSet groups together for a parser or formatter to consult.
An immutable Set of Operators, used by pretty-printing/parsing code (e.g. TermFormatter.prettyExpressions) to know which functors should be rendered/read as prefix, infix, or postfix expressions. DEFAULT (same as STANDARD) bundles the usual arithmetic, comparison, and control-flow operators; plus/minus let a program layer its own operators on top of (or remove some from) an existing set without mutating it.
A lookup structure mapping an Operator.functor to its Operator.priority, indexed by Operator.specifier.
Enumeration containing all type of specifiers that can be given to Operators.
Functions
Builds an OperatorsIndex out of this collection of Operators, for fast functor/specifier lookups.