Class AntlrMemberReferencePath
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.value.AntlrExpressionValue
cool.klass.model.converter.compiler.state.value.AntlrMemberReferencePath
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AntlrThisMemberReferencePath,AntlrTypeMemberReferencePath
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.collections.api.list.ImmutableList<AntlrAssociationEnd>protected final AntlrDataTypeProperty<?>protected final AntlrClassFields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAntlrMemberReferencePath(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<CompilationUnit> compilationUnit, AntlrClass klass, org.eclipse.collections.api.list.ImmutableList<AntlrAssociationEnd> associationEnd, AntlrDataTypeProperty<?> dataTypeProperty, IAntlrElement expressionValueOwner) -
Method Summary
Modifier and TypeMethodDescriptionbuild()org.eclipse.collections.api.list.ImmutableList<AntlrAssociationEnd>getKlass()protected AntlrClassreportErrorsAssociationEnds(CompilerAnnotationHolder compilerAnnotationHolder, List<KlassParser.AssociationEndReferenceContext> associationEndReferenceContexts) Methods inherited from class cool.klass.model.converter.compiler.state.value.AntlrExpressionValue
getElementBuilder, getPossibleTypes, getSurroundingElement, reportErrors, resolveServiceVariables, visitMethods inherited from class cool.klass.model.converter.compiler.state.AntlrElement
getCompilationUnit, getElementContext, getMacroElement, getMacroElementBuilder, getSourceCodeBuilder, getSourceText, getSourceTextLenient, hasMacro, isForwardReference, isInSameCompilationUnit, toStringMethods 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
-
klass
-
associationEnd
@Nonnull protected final org.eclipse.collections.api.list.ImmutableList<AntlrAssociationEnd> associationEnd -
dataTypeProperty
-
-
Constructor Details
-
AntlrMemberReferencePath
protected AntlrMemberReferencePath(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, @Nonnull AntlrClass klass, @Nonnull org.eclipse.collections.api.list.ImmutableList<AntlrAssociationEnd> associationEnd, @Nonnull AntlrDataTypeProperty<?> dataTypeProperty, @Nonnull IAntlrElement expressionValueOwner)
-
-
Method Details
-
getKlass
-
getAssociationEnds
@Nonnull public org.eclipse.collections.api.list.ImmutableList<AntlrAssociationEnd> getAssociationEnds() -
getDataTypeProperty
-
build
- Specified by:
buildin classAntlrExpressionValue
-
reportErrorsAssociationEnds
@Nullable protected AntlrClass reportErrorsAssociationEnds(@Nonnull CompilerAnnotationHolder compilerAnnotationHolder, @Nonnull List<KlassParser.AssociationEndReferenceContext> associationEndReferenceContexts)
-