Uses of Class
net.hydromatic.morel.eval.Session
-
Packages that use Session Package Description net.hydromatic.morel Standard ML interpreter, implemented in Java.net.hydromatic.morel.compile Validates programs (represented asAstNode), deduces their type, and compiles them into code that can be evaluated.net.hydromatic.morel.eval Evaluates expressions.net.hydromatic.morel.foreign Provides access to external data sources. -
-
Uses of Session in net.hydromatic.morel
Fields in net.hydromatic.morel declared as Session Modifier and Type Field Description (package private) SessionMain. sessionprivate SessionShell.SubShell. sessionMethods in net.hydromatic.morel with parameters of type Session Modifier and Type Method Description (package private) voidMain.Shell. run(Session session, Main.BufferingReader in2)Constructors in net.hydromatic.morel with parameters of type Session Constructor Description SubShell(int depth, int maxDepth, Shell.LineFn lineFn, boolean echo, TypeSystem typeSystem, Environment env, Consumer<String> outLines, Session session, File directory) -
Uses of Session in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile with parameters of type Session Modifier and Type Method Description voidCompiledStatement. eval(Session session, Environment environment, Consumer<String> outLines, Consumer<Binding> outBindings)Evaluates this statement, adding lines of feedback tooutputand writing bindings (values to variables, and types definitions) tobindings.private static CompiledStatementCompiles. prepareDecl(TypeSystem typeSystem, Session session, Environment env, @Nullable Calcite calcite, Ast.Decl decl, boolean isDecl, Consumer<CompileException> warningConsumer, Tracer tracer)Validates and compiles a declaration, and compiles it to code that can be evaluated by the interpreter.static CompiledStatementCompiles. prepareStatement(TypeSystem typeSystem, Session session, Environment env, AstNode statement, @Nullable Calcite calcite, Consumer<CompileException> warningConsumer, Tracer tracer)Validates and compiles a statement (expression or declaration), and compiles it to code that can be evaluated by the interpreter. -
Uses of Session in net.hydromatic.morel.eval
Methods in net.hydromatic.morel.eval with parameters of type Session Modifier and Type Method Description static EvalEnvCodes. emptyEnvWith(Session session, Environment env)Creates an evaluation environment that contains the bound values from a compilation environment.Method parameters in net.hydromatic.morel.eval with type arguments of type Session Modifier and Type Method Description voidSession. withoutHandlingExceptions(Consumer<Session> consumer)Calls some code with aSession.Shellthat does not handle errors. -
Uses of Session in net.hydromatic.morel.foreign
Fields in net.hydromatic.morel.foreign declared as Session Modifier and Type Field Description SessionCalciteFunctions.Context. sessionMethods in net.hydromatic.morel.foreign with parameters of type Session Modifier and Type Method Description (package private) static CalciteFunctions.MorelTableFunction.CompiledCalciteFunctions.MorelTableFunction.Compiled. create(String ml, String typeJson, org.apache.calcite.rel.type.RelDataTypeFactory typeFactory, Environment env, TypeSystem typeSystem, Session session)Constructors in net.hydromatic.morel.foreign with parameters of type Session Constructor Description Context(Session session, Environment env, TypeSystem typeSystem, org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
-