Class AntlrPackage
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.AntlrPackage
- All Implemented Interfaces:
IAntlrElement
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionAntlrPackage(KlassParser.PackageDeclarationContext elementContext, Optional<CompilationUnit> compilationUnit, int ordinal, org.antlr.v4.runtime.ParserRuleContext nameContext, AntlrCompilationUnit compilationUnitState) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> protected PatternMethods inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
getName, getNameContext, 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, 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, getEntireContext, getSurroundingElement, getSurroundingElements, isContext, reportAuditErrors
-
Constructor Details
-
AntlrPackage
public AntlrPackage(@Nonnull KlassParser.PackageDeclarationContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, int ordinal, @Nonnull org.antlr.v4.runtime.ParserRuleContext nameContext, @Nonnull AntlrCompilationUnit compilationUnitState)
-
-
Method Details
-
getElementContext
- Specified by:
getElementContextin interfaceIAntlrElement- Overrides:
getElementContextin classAntlrElement
-
getNamePattern
- Specified by:
getNamePatternin classAntlrNamedElement
-
getSurroundingElement
-
getContextBefore
public org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getContextBefore()
-