Package net.hydromatic.morel.eval
Evaluates expressions.
-
Interface Summary Interface Description Applicable A compiled expression that can be evaluated by applying to an argument.Code A compiled expression, that can be evaluated.Codes.Positioned AnApplicablewhose position can be changed.Codes.RowSink Accepts rows produced by a supplier as part of afromclause.Describable Can be visited by aDescriber.Describer Describes a plan (tree ofCodeorApplicableobjects).Describer.Detail Provided as a callback while describing a node.EvalEnv Evaluation environment.MutableEvalEnv An evaluation environment whose last entry is mutable.Session.Shell Callback to implement "use" command. -
Class Summary Class Description Applicable2<R,A0,A1> Applicable whose argument is a 3-tuple.Applicable3<R,A0,A1,A2> Applicable whose argument is a 3-tuple.ApplicableImpl Abstract implementation ofApplicablethat describes itself with a constant name.Closure Value that is sufficient for a function to bind its argument and evaluate its body.Closure.EvalEnvHolder Callback forClosure.bindRecurse(Core.Pat, Object, BiConsumer)that modifies an environment.Codes Helpers forCode.Codes.AndAlsoCode Code that implementsCodes.andAlso(Code, Code).Codes.ApplyCode Applies anApplicableto aCode.Codes.ApplyCode2 Applies anApplicable2to twoCodearguments.Codes.ApplyCode3 Applies anApplicable3to threeCodearguments.Codes.ApplyCodeCode Codes.CollectRowSink Implementation ofCodes.RowSinkthat the last step of afromwrites into.Codes.ConstantCode Code that implements a constant.Codes.GetCode Code that retrieves the value of a variable from the environment.Codes.GetTupleCode Code that retrieves, as a tuple, the value of several variables from the environment.Codes.GroupRowSink Implementation ofCodes.RowSinkfor agroupclause.Codes.InteractUse ImplementsBuiltIn.INTERACT_USE.Codes.Let1Code Code that implementsCodes.let(List, Code)with one argument.Codes.LetCode Code that implementsCodes.let(List, Code)with multiple arguments.Codes.ListHd ImplementsBuiltIn.LIST_HD.Codes.ListLast ImplementsBuiltIn.LIST_LAST.Codes.ListNth ImplementsBuiltIn.LIST_NTHandBuiltIn.VECTOR_SUB.Codes.ListTabulate ImplementsBuiltIn.LIST_TABULATE.Codes.ListTake ImplementsBuiltIn.LIST_TAKE.Codes.ListTl ImplementsBuiltIn.LIST_TL.Codes.OptionValOf ImplementsBuiltIn.OPTION_VAL_OF.Codes.OrderRowSink Implementation ofCodes.RowSinkfor anorderclause.Codes.OrElseCode Code that implementsCodes.orElse(Code, Code).Codes.RealCheckFloat ImplementsBuiltIn.REAL_CHECK_FLOAT.Codes.RealCompare ImplementsBuiltIn.REAL_COMPARE.Codes.RealSign ImplementsBuiltIn.REAL_COMPARE.Codes.RelationalOnly ImplementsBuiltIn.RELATIONAL_ONLY.Codes.ScanRowSink Implementation ofCodes.RowSinkfor ajoinclause.Codes.StringConcat ImplementsBuiltIn.STRING_CONCAT.Codes.StringConcatWith ImplementsBuiltIn.STRING_CONCAT_WITH.Codes.StringExtract ImplementsBuiltIn.STRING_SUB.Codes.StringSub ImplementsBuiltIn.STRING_SUB.Codes.StringSubstring ImplementsBuiltIn.STRING_SUBSTRING.Codes.TupleCode A code that evaluates expressions and creates a tuple with the results.Codes.VectorUpdate ImplementsBuiltIn.VECTOR_UPDATE.Codes.WhereRowSink Implementation ofCodes.RowSinkfor awhereclause.Codes.WrapRelList Codes.YieldRowSink Implementation ofCodes.RowSinkfor ayieldstep.DescriberImpl Implementation of.Describer.EvalEnvs Helpers forEvalEnv.EvalEnvs.ArraySubEvalEnv Similar toMutableEvalEnvbut binds several names.EvalEnvs.MapEvalEnv Evaluation environment that reads from a map.EvalEnvs.MutableArraySubEvalEnv Similar toMutableEvalEnvbut binds several names; extendsEvalEnvs.ArraySubEvalEnvadding mutability.EvalEnvs.MutablePatSubEvalEnv Evaluation environment that binds several slots based on a pattern.EvalEnvs.MutableSubEvalEnv Similar toEvalEnvs.SubEvalEnvbut mutable.EvalEnvs.PatSubEvalEnv Immutable copy ofEvalEnvs.MutablePatSubEvalEnv.EvalEnvs.SubEvalEnv Evaluation environment that inherits from a parent environment and adds one binding.Session Session environment.Unit A placeholder value for the "unit" type. -
Enum Summary Enum Description Codes.BuiltInExn Definitions of Morel built-in exceptions.Prop Property.Session.Shells Various implementations ofSession.Shell. -
Exception Summary Exception Description Codes.MorelRuntimeException Java exception that wraps an exception thrown by the Morel runtime.