Interface IAntlrElement

All Known Subinterfaces:
AntlrClassifierReferenceOwner, AntlrClassReferenceOwner, AntlrModifierOwner, AntlrMultiplicityOwner, AntlrOrderByOwner, AntlrProjectionChild, AntlrProjectionElement, AntlrTopLevelElement, AntlrType
All Known Implementing Classes:
AbstractAntlrLiteralValue, AbstractAntlrNumericPropertyValidation, AbstractAntlrPropertyValidation, AllAntlrCriteria, AntlrAndCriteria, AntlrAssociation, AntlrAssociationEnd, AntlrAssociationEndSignature, AntlrBinaryCriteria, AntlrBooleanLiteralValue, AntlrClass, AntlrClassifier, AntlrClassifierReference, AntlrClassReference, AntlrClassReferenceProperty, AntlrCompilationUnit, AntlrCriteria, AntlrDataTypeProperty, AntlrElement, AntlrEnumeration, AntlrEnumerationLiteral, AntlrEnumerationProperty, AntlrEqualityOperator, AntlrExpressionValue, AntlrFloatingPointLiteralValue, AntlrIdentifierElement, AntlrInequalityOperator, AntlrInOperator, AntlrIntegerLiteralValue, AntlrInterface, AntlrLiteralListValue, AntlrMaxLengthPropertyValidation, AntlrMaxPropertyValidation, AntlrMemberReferencePath, AntlrMinLengthPropertyValidation, AntlrMinPropertyValidation, AntlrModifier, AntlrMultiplicity, AntlrNamedElement, AntlrNullLiteral, AntlrOperator, AntlrOrCriteria, AntlrOrderBy, AntlrOrderByDirection, AntlrOrderByMemberReferencePath, AntlrOrdinalElement, AntlrPackage, AntlrPackageableElement, AntlrParameter, AntlrParameterizedProperty, AntlrPrimitiveProperty, AntlrPrimitiveType, AntlrProjection, AntlrProjectionDataTypeProperty, AntlrProjectionParent, AntlrProjectionProjectionReference, AntlrProjectionReferenceProperty, AntlrProperty, AntlrReferenceProperty, AntlrRelationship, AntlrService, AntlrServiceCriteria, AntlrServiceGroup, AntlrServiceMultiplicity, AntlrServiceProjectionDispatch, AntlrStringLiteralValue, AntlrStringOperator, AntlrThisMemberReferencePath, AntlrTypeMemberReferencePath, AntlrUrl, AntlrUrlConstant, AntlrUserLiteral, AntlrVariableReference, AntlrVerb, EdgePointAntlrCriteria, OperatorAntlrCriteria

public interface IAntlrElement
  • Method Details

    • getElementContext

      @Nonnull org.antlr.v4.runtime.ParserRuleContext getElementContext()
    • getMacroElement

      @Nonnull Optional<AntlrElement> getMacroElement()
    • getSurroundingElement

      @Nonnull Optional<IAntlrElement> getSurroundingElement()
    • getSurroundingElement

      default <T extends IAntlrElement> Optional<T> getSurroundingElement(Class<T> elementClass)
    • getSurroundingElements

      @Nonnull default org.eclipse.collections.api.list.ImmutableList<IAntlrElement> getSurroundingElements()
    • gatherSurroundingElements

      default void gatherSurroundingElements(@Nonnull org.eclipse.collections.api.list.MutableList<IAntlrElement> result)
    • isContext

      default boolean isContext()
    • getCompilationUnit

      @Nonnull Optional<CompilationUnit> getCompilationUnit()
    • getContextBefore

      default org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getContextBefore()
    • getContextAfter

      default org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getContextAfter()
    • getEntireContext

      default org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getEntireContext()
    • reportAuditErrors

      default void reportAuditErrors(CompilerAnnotationHolder compilerAnnotationHolder, org.eclipse.collections.api.list.ListIterable<AntlrModifier> modifiers, IAntlrElement element)