Uses of Class
net.hydromatic.morel.ast.Core.Literal
Packages that use Core.Literal
Package
Description
Abstract syntax tree.
Validates programs (represented as
AstNode),
deduces their type, and compiles them into code that can be evaluated.-
Uses of Core.Literal in net.hydromatic.morel.ast
Fields in net.hydromatic.morel.ast declared as Core.LiteralModifier and TypeFieldDescriptionprivate final Core.LiteralCoreBuilder.falseLiteralprivate final Core.LiteralCoreBuilder.trueLiteralMethods in net.hydromatic.morel.ast that return Core.LiteralModifier and TypeMethodDescriptionCoreBuilder.boolLiteral(boolean b) Creates abooleanliteral.private static Core.LiteralCoreBuilder.boolLiteral_(boolean b) Used only during initialization.CoreBuilder.charLiteral(char c) Creates acharliteral.CoreBuilder.functionLiteral(Type type, BuiltIn builtIn) Creates a function literal.CoreBuilder.functionLiteral(TypeSystem typeSystem, BuiltIn builtIn) Creates a function literal, deducing its type.CoreBuilder.functionLiteral(TypeSystem typeSystem, BuiltIn builtIn, List<Core.Exp> argList) Creates a function literal, possibly overloaded.CoreBuilder.internalLiteral(Object value) Creates an internal literal.CoreBuilder.intLiteral(BigDecimal value) Creates anintliteral.CoreBuilder.literal(PrimitiveType type, Object value) Creates a literal.CoreBuilder.realLiteral(Float value) Creates afloatliteral with a non-normal value.CoreBuilder.realLiteral(BigDecimal value) Creates afloatliteral.CoreBuilder.stringLiteral(String value) Creates a string literal.CoreBuilder.unitLiteral()Creates a unit literal.CoreBuilder.valueLiteral(Core.Exp exp, Object value) Creates a value literal.Methods in net.hydromatic.morel.ast with parameters of type Core.LiteralModifier and TypeMethodDescriptionprotected Core.ExpShuttle.visit(Core.Literal literal) protected voidVisitor.visit(Core.Literal literal) -
Uses of Core.Literal in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile with parameters of type Core.LiteralModifier and TypeMethodDescriptionprivate CodeCompiler.compileCall(Compiler.Context cx, Core.Literal fnLiteral, Core.Exp arg, Pos pos)