Class AntlrOperator
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.operator.AntlrOperator
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AntlrEqualityOperator,AntlrInequalityOperator,AntlrInOperator,AntlrStringOperator
-
Field Summary
FieldsFields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAntlrOperator(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<CompilationUnit> compilationUnit, String operatorText) -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractOperator.AbstractOperatorBuilder<?>build()abstract voidcheckTypes(CompilerAnnotationHolder compilerAnnotationHolder, org.eclipse.collections.api.list.ListIterable<AntlrType> sourceTypes, org.eclipse.collections.api.list.ListIterable<AntlrType> targetTypes) abstract AbstractOperator.AbstractOperatorBuilder<?>voidsetOwningOperatorAntlrCriteria(OperatorAntlrCriteria operatorAntlrCriteria) Methods 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
-
operatorText
-
owningOperatorAntlrCriteria
-
-
Constructor Details
-
AntlrOperator
protected AntlrOperator(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, @Nonnull String operatorText)
-
-
Method Details
-
setOwningOperatorAntlrCriteria
-
getSurroundingElement
-
build
-
getElementBuilder
- Overrides:
getElementBuilderin classAntlrElement
-
checkTypes
public abstract void checkTypes(CompilerAnnotationHolder compilerAnnotationHolder, org.eclipse.collections.api.list.ListIterable<AntlrType> sourceTypes, org.eclipse.collections.api.list.ListIterable<AntlrType> targetTypes)
-