Uses of Class
net.hydromatic.morel.type.Binding
Packages that use Binding
Package
Description
Standard ML interpreter, implemented in Java.
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.Evaluates expressions.
Type system.
-
Uses of Binding in net.hydromatic.morel
Fields in net.hydromatic.morel with type parameters of type BindingMethod parameters in net.hydromatic.morel with type arguments of type BindingModifier and TypeMethodDescription(package private) voidConstructor parameters in net.hydromatic.morel with type arguments of type BindingModifierConstructorDescription(package private)Shell(Main main, Environment env0, Consumer<String> echoLines, Consumer<String> outLines, Map<String, Binding> bindingMap) (package private)SubShell(Main main, Consumer<String> echoLines, Consumer<String> outLines, Map<String, Binding> outBindings, Environment env0) (package private)Use(Environment env, Map<String, Binding> bindings) -
Uses of Binding in net.hydromatic.morel.ast
Fields in net.hydromatic.morel.ast with type parameters of type BindingModifier and TypeFieldDescriptionfinal com.google.common.collect.ImmutableList<Binding> Core.FromStep.bindingsFromBuilder.bindingsMethods in net.hydromatic.morel.ast that return types with arguments of type BindingModifier and TypeMethodDescriptionFromBuilder.bindings()Returns the bindings available after the most recent step.CoreBuilder.lastBindings(List<? extends Core.FromStep> steps) Method parameters in net.hydromatic.morel.ast with type arguments of type BindingModifier and TypeMethodDescriptionCore.Order.copy(List<Binding> bindings, List<Core.OrderItem> orderItems) private static booleanReturns whether tuple is something like "{i = i, j = j}".CoreBuilder.order(List<Binding> bindings, Iterable<Core.OrderItem> orderItems) private static FromBuilder.TupleTypeReturns whether tuple is something like "{i = i, j = j}".Creates a "yield" step.Constructor parameters in net.hydromatic.morel.ast with type arguments of type BindingModifierConstructorDescription(package private)(package private)Group(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.Exp> groupExps, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.Aggregate> aggregates) (package private)Order(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableList<Core.OrderItem> orderItems) (package private)Scan(Op op, com.google.common.collect.ImmutableList<Binding> bindings, Core.Pat pat, Core.Exp exp, Core.Exp condition) (package private)(package private)(package private)(package private) -
Uses of Binding in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile declared as BindingFields in net.hydromatic.morel.compile with type parameters of type BindingModifier and TypeFieldDescriptionCompiles.PatternBinder.bindingsprivate final Map<Core.NamedPat, Binding> Environments.MapEnvironment.mapMethods in net.hydromatic.morel.compile that return BindingModifier and TypeMethodDescriptionabstract @Nullable BindingReturns the binding ofnameif bound, null if not.abstract @Nullable BindingEnvironment.getOpt(Core.NamedPat id) Returns the binding ofidif bound, null if not.@Nullable Binding@Nullable BindingEnvironments.EmptyEnvironment.getOpt(Core.NamedPat id) @Nullable Binding@Nullable BindingEnvironments.MapEnvironment.getOpt(Core.NamedPat id) @Nullable Binding@Nullable BindingEnvironments.SubEnvironment.getOpt(Core.NamedPat id) Methods in net.hydromatic.morel.compile that return types with arguments of type BindingModifier and TypeMethodDescriptionEnvironment.getValueMap()Returns a map of the values and bindings.Compiler.sortedBindingMap(Iterable<Binding> bindings) Methods in net.hydromatic.morel.compile with parameters of type BindingModifier and TypeMethodDescriptionprotected Environmentprotected Environmentprotected EnvShuttleCreates a shuttle the same as this but overriding a binding.protected EnvVisitorCreates a visitor the same as this but overriding a binding.private Core.NamedPatConverts an Id that is a reference to a variable into an IdPat that represents its declaration.Method parameters in net.hydromatic.morel.compile with type arguments of type BindingModifier and TypeMethodDescriptionstatic voidCompiles.acceptBinding(TypeSystem typeSystem, Core.Pat pat, List<Binding> bindings) Visits a pattern, adding bindings to a list.(package private) static EnvironmentEnvironments.bind(Environment env, Iterable<Binding> bindings) Creates an environment that is a given environment plus bindings.protected EnvShuttleCreates a shuttle the same as this but with overriding bindings.protected EnvVisitorCreates a visitor the same as this but with overriding bindings.(package private) CalciteCompiler.RelContext(package private) Compiler.Contextfinal EnvironmentCreates an environment that is the same as this, plus the given bindings.static voidCompiles.bindDataType(TypeSystem typeSystem, List<Binding> bindings, DataType dataType) (package private) static Compiles.PatternBinderCompiles.binding(TypeSystem typeSystem, List<Binding> bindings) private com.google.common.collect.ImmutableList<String> Compiler.bindingNames(List<Binding> bindings) (package private) static voidCompiles.bindPattern(TypeSystem typeSystem, List<Binding> bindings, Core.DatatypeDecl datatypeDecl) (package private) static voidCompiles.bindPattern(TypeSystem typeSystem, List<Binding> bindings, Core.NamedPat namedPat) (package private) static voidCompiles.bindPattern(TypeSystem typeSystem, List<Binding> bindings, Core.Pat pat) (package private) static voidCompiles.bindPattern(TypeSystem typeSystem, List<Binding> bindings, Core.ValDecl valDecl) Richer thanCompiles.bindPattern(TypeSystem, List, Core.Pat)because we have the expression.protected Supplier<Codes.RowSink> Compiler.createRowSinkFactory(Compiler.Context cx0, com.google.common.collect.ImmutableList<Binding> bindings, List<Core.FromStep> steps, Type elementType) static voidBuiltIn.dataTypes(TypeSystem typeSystem, List<Binding> bindings) Defines built-indatatypeandeqtypeinstances, e.g.private static voidBuiltIn.defineDataType(TypeSystem ts, List<Binding> bindings, String name, boolean internal, int varCount, UnaryOperator<BuiltIn.DataTypeHelper> transform) private static voidEnvironments.foreignBindings(TypeSystem typeSystem, Map<String, ForeignValue> map, List<Binding> bindings) private Resolver.ResolvedDeclprivate Resolver.ResolvedDatatypeDeclResolver.resolveDatatypeDecl(Ast.DatatypeDecl decl, List<Binding> bindings) private Resolver.ResolvedValDeclResolver.resolveValDecl(Ast.ValDecl valDecl, List<Binding> bindings) Compiler.sortedBindingMap(Iterable<Binding> bindings) (package private) abstract voidVisits every variable binding in this environment.(package private) void(package private) void(package private) voidvoidEnvVisitor.visitStep(Core.FromStep step, List<Binding> bindings) final ResolverBinds a Resolver to an environment that consists of the current environment plus some bindings.private CalciteCompiler.RelContextCalciteCompiler.yield_(CalciteCompiler.RelContext cx, List<Binding> bindings, Core.Exp exp) Constructors in net.hydromatic.morel.compile with parameters of type BindingModifierConstructorDescription(package private)SubEnvironment(Environment parent, Binding binding) Constructor parameters in net.hydromatic.morel.compile with type arguments of type BindingModifierConstructorDescription(package private)MapEnvironment(Environment parent, com.google.common.collect.ImmutableMap<Core.NamedPat, Binding> map) (package private)PatternBinder(TypeSystem typeSystem, List<Binding> bindings) -
Uses of Binding in net.hydromatic.morel.eval
Method parameters in net.hydromatic.morel.eval with type arguments of type BindingModifier and TypeMethodDescriptionstatic Codes.RowSinkCodes.orderRowSink(Iterable<? extends Map.Entry<Code, Boolean>> codes, com.google.common.collect.ImmutableList<Binding> bindings, Codes.RowSink rowSink) Creates aCodes.RowSinkfor aorderclause. -
Uses of Binding in net.hydromatic.morel.type
Methods in net.hydromatic.morel.type that return BindingModifier and TypeMethodDescriptionCreates a binding of a type constructor value.static BindingBinding.of(Core.NamedPat id) static BindingBinding.of(Core.NamedPat id, Object value) static BindingBinding.of(Core.NamedPat id, Core.Exp exp) Binding.withParameter(boolean parameter)