Uses of Enum
net.hydromatic.morel.compile.BuiltIn
Packages that use BuiltIn
Package
Description
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.Evaluates expressions.
-
Uses of BuiltIn in net.hydromatic.morel.ast
Methods in net.hydromatic.morel.ast with parameters of type BuiltInModifier and TypeMethodDescriptionCoreBuilder.apply(Pos pos, TypeSystem typeSystem, BuiltIn builtIn, Core.Exp arg0, Core.Exp arg1, Core.Exp... args) Creates aCore.Applywith two or more arguments, packing the arguments into a tuple.private Core.ApplyCoreBuilder.call(TypeSystem typeSystem, BuiltIn builtIn, Core.Exp... args) Calls a built-in function.private Core.ApplyCalls a built-in function with one type parameter.CoreBuilder.functionLiteral(TypeSystem typeSystem, BuiltIn builtIn) Creates a function literal.booleanbooleanReturns whether this expression is a call to the given built-in.private Ast.ExpReturns a reference to a built-in: either a name (e.g. -
Uses of BuiltIn in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile with type parameters of type BuiltInModifier and TypeFieldDescriptionCalciteCompiler.BINARY_OPERATORSMorel infix operators and their exact equivalents in Calcite.Resolver.BUILT_IN_OP_MAPMap fromBuiltIn, toOp; the reverse ofResolver.OP_BUILT_IN_MAP, and needed when we convert an optimized expression back to human-readable Morel code.Resolver.Init.builtInOpMapBuiltIn.BY_ML_NAMEBuiltIn.Structure.memberMapResolver.OP_BUILT_IN_MAPResolver.Init.opBuiltInMapCalciteCompiler.UNARY_OPERATORSMorel prefix and suffix operators and their exact equivalents in Calcite.Methods in net.hydromatic.morel.compile that return BuiltInModifier and TypeMethodDescriptionBuiltIn.reverse()Returns the reverse comparison operator, R, such that "x this y" if and only if "y R x".private BuiltInstatic BuiltInReturns the enum constant of this type with the specified name.static BuiltIn[]BuiltIn.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.hydromatic.morel.compile with parameters of type BuiltInModifier and TypeMethodDescriptionprivate Core.Expprivate CodeCompiler.compileCall(Compiler.Context cx, BuiltIn builtIn, Core.Exp arg, Pos pos) private voidExtents.Extent.g4(com.google.common.collect.Multimap<Core.Pat, Core.Exp> map, BuiltIn builtIn, Core.Exp arg0, Core.Exp arg1) Method parameters in net.hydromatic.morel.compile with type arguments of type BuiltInModifier and TypeMethodDescriptionstatic voidBuiltIn.forEach(TypeSystem typeSystem, BiConsumer<BuiltIn, Type> consumer) Calls a consumer once per value.Constructor parameters in net.hydromatic.morel.compile with type arguments of type BuiltIn -
Uses of BuiltIn in net.hydromatic.morel.eval
Fields in net.hydromatic.morel.eval declared as BuiltInModifier and TypeFieldDescriptionprivate final BuiltInCodes.ListNth.builtInprivate final BuiltInCodes.ListTabulate.builtInFields in net.hydromatic.morel.eval with type parameters of type BuiltInModifier and TypeFieldDescriptionstatic final Map<Applicable, BuiltIn> Codes.BUILT_IN_MAPCodes.BUILT_IN_VALUESMethods in net.hydromatic.morel.eval that return types with arguments of type BuiltInMethods in net.hydromatic.morel.eval with parameters of type BuiltInModifier and TypeMethodDescriptionprivate static ApplicableImplprivate static ApplicableImplprivate static ApplicableImplprivate static ApplicableImplprivate static ApplicableImplprivate static ApplicableImplCodes.isNotEmpty(BuiltIn builtIn) private static ApplicableImplprivate static ApplicableImplConstructors in net.hydromatic.morel.eval with parameters of type BuiltInModifierConstructorDescriptionprotectedApplicable2(BuiltIn builtIn) protectedApplicable2(BuiltIn builtIn, Pos pos) protectedApplicable3(BuiltIn builtIn) protectedApplicable3(BuiltIn builtIn, Pos pos) protectedApplicableImpl(BuiltIn builtIn) Creates an ApplicableImpl that directly implements a BuiltIn.protectedApplicableImpl(BuiltIn builtIn, Pos pos) Creates an ApplicableImpl that directly implements a BuiltIn.(package private)(package private)ListTabulate(BuiltIn builtIn, Pos pos)