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 Summary
Modifier and TypeMethodDescriptiondefault voidgatherSurroundingElements(org.eclipse.collections.api.list.MutableList<IAntlrElement> result) default org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> default org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> org.antlr.v4.runtime.ParserRuleContextdefault org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> default <T extends IAntlrElement>
Optional<T>getSurroundingElement(Class<T> elementClass) default org.eclipse.collections.api.list.ImmutableList<IAntlrElement>default booleandefault voidreportAuditErrors(CompilerAnnotationHolder compilerAnnotationHolder, org.eclipse.collections.api.list.ListIterable<AntlrModifier> modifiers, IAntlrElement element)
-
Method Details
-
getElementContext
@Nonnull org.antlr.v4.runtime.ParserRuleContext getElementContext() -
getMacroElement
-
getSurroundingElement
-
getSurroundingElement
-
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
-
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)
-