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
public abstract static class SemanticContext.Operator extends 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 Constructor Description Operator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Collection<SemanticContext>
getOperands()
Gets the operands for the semantic context operator.-
Methods inherited from class org.antlr.v4.runtime.atn.SemanticContext
and, eval, evalPrecedence, or
-
-
-
-
Method Detail
-
getOperands
public abstract Collection<SemanticContext> getOperands()
Gets the operands for the semantic context operator.- Returns:
- a collection of
SemanticContext
operands for the operator. - Since:
- 4.3
-
-