SemanticContext.PrecedencePredicate

TODO add class description

Constructors

this
this()
Undocumented in source.
this
this(int precedence)
Undocumented in source.

Members

Functions

eval
bool eval(InterfaceRecognizer parser, RuleContext parserCallStack)

@uml @override

evalPrecedence
SemanticContext evalPrecedence(InterfaceRecognizer parser, RuleContext parserCallStack)

@uml @override

opCmp
int opCmp(Object o)

@uml @override

opEquals
bool opEquals(Object obj)

@uml @override

toHash
size_t toHash()

@uml @override @safe @nothrow

toString
string toString()

@uml @override precedence >= _precedenceStack.peek()

Variables

precedence
int precedence;

@uml @final

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