Class AntlrIdentifierElement
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
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AntlrEnumerationLiteral,AntlrPackageableElement,AntlrParameter,AntlrProjectionDataTypeProperty,AntlrProjectionParent,AntlrProjectionProjectionReference,AntlrProperty,AntlrUrlConstant
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KlassParser.IdentifierContextstatic final KlassParser.IdentifierContextFields 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
ConstructorsModifierConstructorDescriptionprotectedAntlrIdentifierElement(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<CompilationUnit> compilationUnit, int ordinal, KlassParser.IdentifierContext nameContext) -
Method Summary
Methods inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
getName, getNamePattern, 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, getElementBuilder, 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, getSurroundingElement, getSurroundingElements, isContext, reportAuditErrors
-
Field Details
-
AMBIGUOUS_IDENTIFIER_CONTEXT
-
NOT_FOUND_IDENTIFIER_CONTEXT
-
-
Constructor Details
-
AntlrIdentifierElement
protected AntlrIdentifierElement(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext)
-
-
Method Details
-
getNameContext
- Overrides:
getNameContextin classAntlrNamedElement
-