OR class
A semantic context which is true whenever at least one of the contained contexts is true.
- Inheritance
Constructors
- OR(SemanticContext a, SemanticContext b)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
operands
→ List<
SemanticContext> -
Gets the operands for the semantic context operator.
no setteroverride
-
opnds
↔ List<
SemanticContext> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
eval(
Recognizer< ATNSimulator> parser, RuleContext? parserCallStack) → bool -
{@inheritDoc}
override
-
evalPrecedence(
Recognizer< ATNSimulator> parser, RuleContext? parserCallStack) → SemanticContext? -
Evaluate the precedence predicates for the context and reduce the result.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override