Class AntlrPackageableElement
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.AntlrOrdinalElement
cool.klass.model.converter.compiler.state.AntlrNamedElement
cool.klass.model.converter.compiler.state.AntlrIdentifierElement
cool.klass.model.converter.compiler.state.AntlrPackageableElement
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AntlrAssociation,AntlrClassifier,AntlrEnumeration,AntlrServiceGroup
-
Field Summary
FieldsFields inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
AMBIGUOUS_IDENTIFIER_CONTEXT, NOT_FOUND_IDENTIFIER_CONTEXTFields inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
CONSTANT_NAME_PATTERN, JAVA_KEYWORDS, JAVA_LITERALS, MEMBER_NAME_PATTERN, nameContext, PACKAGE_NAME_PATTERN, RELADOMO_TYPES, SQL_KEYWORDS, TYPE_NAME_PATTERNFields inherited from class cool.klass.model.converter.compiler.state.AntlrOrdinalElement
ordinalFields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAntlrPackageableElement(org.antlr.v4.runtime.ParserRuleContext elementContext, AntlrCompilationUnit compilationUnitState, int ordinal, KlassParser.IdentifierContext nameContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected Patternabstract voidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) Methods inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
getNameContextMethods inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
getName, reportKeywordCollision, reportNameErrors, toStringMethods inherited from class cool.klass.model.converter.compiler.state.AntlrOrdinalElement
getOrdinalMethods inherited from class cool.klass.model.converter.compiler.state.AntlrElement
getCompilationUnit, getElementContext, getMacroElement, getMacroElementBuilder, getSourceCodeBuilder, getSourceText, getSourceTextLenient, hasMacro, isForwardReference, isInSameCompilationUnitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface cool.klass.model.converter.compiler.state.IAntlrElement
gatherSurroundingElements, getContextAfter, getContextBefore, getEntireContext, getSurroundingElement, getSurroundingElements, isContext, reportAuditErrors
-
Field Details
-
compilationUnitState
-
-
Constructor Details
-
AntlrPackageableElement
protected AntlrPackageableElement(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull AntlrCompilationUnit compilationUnitState, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext)
-
-
Method Details
-
getSurroundingElement
-
getPackageName
-
getNamePattern
- Specified by:
getNamePatternin classAntlrNamedElement
-
getElementBuilder
- Overrides:
getElementBuilderin classAntlrElement
-
reportErrors
-