Class AntlrProjectionProjectionReference
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.projection.AntlrProjectionProjectionReference
- All Implemented Interfaces:
IAntlrElement,AntlrProjectionChild,AntlrProjectionElement
public class AntlrProjectionProjectionReference
extends AntlrIdentifierElement
implements AntlrProjectionChild
-
Field Summary
Fields 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
ConstructorsConstructorDescriptionAntlrProjectionProjectionReference(KlassParser.ProjectionProjectionReferenceContext elementContext, Optional<CompilationUnit> compilationUnit, int ordinal, KlassParser.IdentifierContext nameContext, AntlrClassifier classifier, AntlrProjectionParent antlrProjectionParent, AntlrClassifier classifierState, AntlrReferenceProperty<?> referenceProperty, AntlrProjection referencedProjection) -
Method Summary
Modifier and TypeMethodDescriptionbuild()voidbuild2()org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> protected PatternbooleanvoidreportDuplicateMemberName(CompilerAnnotationHolder compilerAnnotationHolder) voidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) voidreportNameErrors(CompilerAnnotationHolder compilerAnnotationHolder) voidvisit(AntlrProjectionVisitor visitor) Methods inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
getNameContextMethods inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
getName, reportKeywordCollision, 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.projection.AntlrProjectionElement
getName, getSurroundingElementMethods inherited from interface cool.klass.model.converter.compiler.state.IAntlrElement
gatherSurroundingElements, getCompilationUnit, getContextAfter, getEntireContext, getMacroElement, getSurroundingElement, getSurroundingElements, reportAuditErrors
-
Constructor Details
-
AntlrProjectionProjectionReference
public AntlrProjectionProjectionReference(@Nonnull KlassParser.ProjectionProjectionReferenceContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext, @Nonnull AntlrClassifier classifier, @Nonnull AntlrProjectionParent antlrProjectionParent, @Nonnull AntlrClassifier classifierState, @Nonnull AntlrReferenceProperty<?> referenceProperty, @Nonnull AntlrProjection referencedProjection)
-
-
Method Details
-
getElementContext
- Specified by:
getElementContextin interfaceIAntlrElement- Overrides:
getElementContextin classAntlrElement
-
isContext
public boolean isContext()- Specified by:
isContextin interfaceIAntlrElement
-
getContextBefore
public org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getContextBefore()- Specified by:
getContextBeforein interfaceIAntlrElement
-
build
- Specified by:
buildin interfaceAntlrProjectionChild- Specified by:
buildin interfaceAntlrProjectionElement
-
build2
public void build2()- Specified by:
build2in interfaceAntlrProjectionElement
-
visit
- Specified by:
visitin interfaceAntlrProjectionElement
-
getParent
- Specified by:
getParentin interfaceAntlrProjectionElement
-
reportDuplicateMemberName
- Specified by:
reportDuplicateMemberNamein interfaceAntlrProjectionElement
-
reportErrors
- Specified by:
reportErrorsin interfaceAntlrProjectionElement
-
reportNameErrors
- Overrides:
reportNameErrorsin classAntlrNamedElement
-
getNamePattern
- Specified by:
getNamePatternin classAntlrNamedElement
-