Class AntlrCriteria
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.criteria.AntlrCriteria
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AllAntlrCriteria,AntlrBinaryCriteria,EdgePointAntlrCriteria,OperatorAntlrCriteria
-
Field Summary
Fields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAntlrCriteria(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<CompilationUnit> compilationUnit, IAntlrElement criteriaOwner) -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract AbstractCriteria.AbstractCriteriaBuilder<?>build()abstract AbstractCriteria.AbstractCriteriaBuilder<?>abstract voidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) abstract voidresolveServiceVariables(org.eclipse.collections.api.map.OrderedMap<String, AntlrParameter> formalParametersByName) abstract voidabstract voidvisit(AntlrCriteriaVisitor visitor) 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
-
Constructor Details
-
AntlrCriteria
protected AntlrCriteria(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, @Nonnull IAntlrElement criteriaOwner)
-
-
Method Details
-
getSurroundingElement
-
build
-
getElementBuilder
- Overrides:
getElementBuilderin classAntlrElement
-
reportErrors
-
resolveServiceVariables
public abstract void resolveServiceVariables(@Nonnull org.eclipse.collections.api.map.OrderedMap<String, AntlrParameter> formalParametersByName) -
resolveTypes
public abstract void resolveTypes() -
addForeignKeys
public void addForeignKeys() -
visit
-