Package org.antlr.v4.runtime.atn
Class SemanticContext.Operator
java.lang.Object
org.antlr.v4.runtime.atn.SemanticContext
org.antlr.v4.runtime.atn.SemanticContext.Operator
- Direct Known Subclasses:
SemanticContext.AND
,SemanticContext.OR
- Enclosing class:
SemanticContext
This is the base class for semantic context "operators", which operate on
a collection of semantic context "operands".
- Since:
- 4.3
-
Nested Class Summary
Nested classes/interfaces inherited from class org.antlr.v4.runtime.atn.SemanticContext
SemanticContext.AND, SemanticContext.Empty, SemanticContext.Operator, SemanticContext.OR, SemanticContext.PrecedencePredicate, SemanticContext.Predicate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection
<SemanticContext> Gets the operands for the semantic context operator.Methods inherited from class org.antlr.v4.runtime.atn.SemanticContext
and, eval, evalPrecedence, or
-
Constructor Details
-
Operator
public Operator()
-
-
Method Details
-
getOperands
Gets the operands for the semantic context operator.- Returns:
- a collection of
SemanticContext
operands for the operator. - Since:
- 4.3
-