Class AntlrRelationship
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.AntlrRelationship
- All Implemented Interfaces:
IAntlrElement
-
Field Summary
Fields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsConstructorDescriptionAntlrRelationship(KlassParser.RelationshipContext elementContext, Optional<CompilationUnit> compilationUnit, AntlrAssociation association) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> booleanvoidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) voidsetCriteria(AntlrCriteria criteria) Methods inherited from class cool.klass.model.converter.compiler.state.AntlrElement
getCompilationUnit, getElementBuilder, 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, getEntireContext, getSurroundingElement, getSurroundingElements, reportAuditErrors
-
Constructor Details
-
AntlrRelationship
public AntlrRelationship(@Nonnull KlassParser.RelationshipContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, AntlrAssociation association)
-
-
Method Details
-
getElementContext
- Specified by:
getElementContextin interfaceIAntlrElement- Overrides:
getElementContextin classAntlrElement
-
setCriteria
-
getCriteria
-
getSurroundingElement
-
isContext
public boolean isContext() -
getContextBefore
public org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getContextBefore() -
reportErrors
-