Operator

This is the base class for semantic context "operators", which operate on a collection of semantic context "operands".

@since 4.3

Members

Functions

getOperands
SemanticContext[] getOperands()

Gets the operands for the semantic context operator.

Inherited Members

From SemanticContext

eval
bool eval(InterfaceRecognizer parser, RuleContext parserCallStack)
Undocumented in source. Be warned that the author may not have intended to support it.
NONE
SemanticContext NONE;

@uml The default {@link SemanticContext}, which is semantically equivalent to a predicate of the form {@code {true}?}.

evalPrecedence
SemanticContext evalPrecedence(InterfaceRecognizer parser, RuleContext parserCallStack)

@uml Evaluate the precedence predicates for the context and reduce the result.

Predicate
class Predicate

TODO add class description

PrecedencePredicate
class PrecedencePredicate

TODO add class description

toHash
size_t toHash()

@uml @safe @nothrow @override

and
SemanticContext and(SemanticContext a, SemanticContext b)
Undocumented in source. Be warned that the author may not have intended to support it.
or
SemanticContext or(SemanticContext a, SemanticContext b)
Undocumented in source. Be warned that the author may not have intended to support it.
filterPrecedencePredicates
PrecedencePredicate[] filterPrecedencePredicates(SemanticContext[] collection)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta