SemanticContext.Predicate

TODO add class description

Constructors

this
this()
Undocumented in source.
this
this(int ruleIndex, int predIndex, bool isCtxDependent)
Undocumented in source.

Members

Functions

eval
bool eval(InterfaceRecognizer parser, RuleContext parserCallStack)

@uml @override

opEquals
bool opEquals(Object obj)

@uml @override

toHash
size_t toHash()

@uml @override @safe @nothrow

toString
string toString()

@uml @override

Variables

isCtxDependent
bool isCtxDependent;

@uml e.g., $i ref in pred

predIndex
int predIndex;
Undocumented in source.
ruleIndex
int ruleIndex;
Undocumented in source.

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