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
  • Constructor Details

    • Operator

      public Operator()
  • Method Details

    • 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