Class AntlrServiceProjectionDispatch
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.service.AntlrServiceProjectionDispatch
- 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
ConstructorsConstructorDescriptionAntlrServiceProjectionDispatch(KlassParser.ServiceProjectionDispatchContext elementContext, Optional<CompilationUnit> compilationUnit, AntlrService service, AntlrProjection projection) -
Method Summary
Modifier and TypeMethodDescriptionbuild()org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> booleanvoidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) Methods inherited from class cool.klass.model.converter.compiler.state.AntlrElement
getCompilationUnit, 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
-
AntlrServiceProjectionDispatch
public AntlrServiceProjectionDispatch(@Nonnull KlassParser.ServiceProjectionDispatchContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, @Nonnull AntlrService service, @Nonnull AntlrProjection projection)
-
-
Method Details
-
getSurroundingElement
-
isContext
public boolean isContext() -
getContextBefore
public org.eclipse.collections.api.tuple.Pair<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.Token> getContextBefore() -
getProjection
-
reportErrors
-
getElementContext
- Specified by:
getElementContextin interfaceIAntlrElement- Overrides:
getElementContextin classAntlrElement
-
build
-
getElementBuilder
- Overrides:
getElementBuilderin classAntlrElement
-