Class AntlrLiteralListValue
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
cool.klass.model.converter.compiler.state.value.literal.AntlrLiteralListValue
- 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
ConstructorsConstructorDescriptionAntlrLiteralListValue(KlassParser.LiteralListContext elementContext, Optional<CompilationUnit> compilationUnit, IAntlrElement expressionValueOwner) -
Method Summary
Modifier and TypeMethodDescriptionbuild()org.eclipse.collections.api.list.ImmutableList<AntlrType>voidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) voidsetLiterals(org.eclipse.collections.api.list.ImmutableList<AbstractAntlrLiteralValue> literals) voidvisit(AntlrExpressionValueVisitor visitor) Methods inherited from class cool.klass.model.converter.compiler.state.value.literal.AbstractAntlrLiteralValue
getInferredType, setInferredTypeMethods inherited from class cool.klass.model.converter.compiler.state.value.AntlrExpressionValue
getSurroundingElement, resolveServiceVariablesMethods 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
-
AntlrLiteralListValue
public AntlrLiteralListValue(@Nonnull KlassParser.LiteralListContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, @Nonnull IAntlrElement expressionValueOwner)
-
-
Method Details
-
setLiterals
public void setLiterals(org.eclipse.collections.api.list.ImmutableList<AbstractAntlrLiteralValue> literals) -
build
- Specified by:
buildin classAbstractAntlrLiteralValue
-
getElementBuilder
- Specified by:
getElementBuilderin classAbstractAntlrLiteralValue
-
reportErrors
- Specified by:
reportErrorsin classAntlrExpressionValue
-
getPossibleTypes
- Specified by:
getPossibleTypesin classAbstractAntlrLiteralValue
-
visit
- Specified by:
visitin classAntlrExpressionValue
-