Class AbstractAntlrLiteralValue
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.literal.AbstractAntlrLiteralValue
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AntlrBooleanLiteralValue,AntlrFloatingPointLiteralValue,AntlrIntegerLiteralValue,AntlrLiteralListValue,AntlrNullLiteral,AntlrStringLiteralValue,AntlrUserLiteral
-
Field Summary
Fields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAntlrLiteralValue(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<CompilationUnit> compilationUnit, IAntlrElement expressionValueOwner) -
Method Summary
Modifier and TypeMethodDescriptionabstract AbstractLiteralValue.AbstractLiteralValueBuilder<?>build()abstract AbstractLiteralValue.AbstractLiteralValueBuilder<?>protected AntlrTypeabstract org.eclipse.collections.api.list.ImmutableList<AntlrType>voidsetInferredType(AntlrType inferredType) Methods inherited from class cool.klass.model.converter.compiler.state.value.AntlrExpressionValue
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
-
Constructor Details
-
AbstractAntlrLiteralValue
protected AbstractAntlrLiteralValue(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, @Nonnull IAntlrElement expressionValueOwner)
-
-
Method Details
-
build
- Specified by:
buildin classAntlrExpressionValue
-
getElementBuilder
- Specified by:
getElementBuilderin classAntlrExpressionValue
-
getPossibleTypes
@Nonnull public abstract org.eclipse.collections.api.list.ImmutableList<AntlrType> getPossibleTypes()- Specified by:
getPossibleTypesin classAntlrExpressionValue
-
getInferredType
-
setInferredType
-