Uses of Class
net.hydromatic.morel.type.Binding
-
Packages that use Binding Package Description net.hydromatic.morel Standard ML interpreter, implemented in Java.net.hydromatic.morel.ast Abstract syntax tree.net.hydromatic.morel.compile Validates programs (represented asAstNode), deduces their type, and compiles them into code that can be evaluated.net.hydromatic.morel.type Type system. -
-
Uses of Binding in net.hydromatic.morel
Fields in net.hydromatic.morel with type parameters of type Binding Modifier and Type Field Description protected Map<String,Binding>Main.Shell. bindingMapprivate Map<String,Binding>Shell.SubShell.Use. bindingsMethod parameters in net.hydromatic.morel with type arguments of type Binding Modifier and Type Method Description (package private) voidShell.SubShell. extracted(@Nullable Map<String,Binding> outBindings)Constructor parameters in net.hydromatic.morel with type arguments of type Binding Constructor Description Shell(Main main, Environment env0, Consumer<String> outLines, Map<String,Binding> bindingMap)SubShell(Main main, Consumer<String> outLines, Map<String,Binding> outBindings, Environment env0)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 Binding Modifier and Type Field Description com.google.common.collect.ImmutableList<Binding>Core.FromStep. bindingsprivate List<Binding>FromBuilder. bindingsMethods in net.hydromatic.morel.ast that return types with arguments of type Binding Modifier and Type Method Description List<Binding>FromBuilder. bindings()Returns the bindings available after the most recent step.List<Binding>CoreBuilder. lastBindings(List<? extends Core.FromStep> steps)Method parameters in net.hydromatic.morel.ast with type arguments of type Binding Modifier and Type Method Description Core.OrderCore.Order. copy(List<Binding> bindings, List<Core.OrderItem> orderItems)Core.ScanCore.Scan. copy(List<Binding> bindings, Core.Pat pat, Core.Exp exp, Core.Exp condition)Core.WhereCore.Where. copy(Core.Exp exp, List<Binding> bindings)Core.YieldCore.Yield. copy(List<Binding> bindings, Core.Exp exp)private booleanFromBuilder. isTrivial(Core.Tuple tuple, @Nullable List<Binding> bindings2)Returns whether tuple is something like "{i = i, j = j}".Core.OrderCoreBuilder. order(List<Binding> bindings, Iterable<Core.OrderItem> orderItems)Core.ScanCoreBuilder. scan(Op op, List<Binding> bindings, Core.Pat pat, Core.Exp exp, Core.Exp condition)private FromBuilder.TupleTypeFromBuilder. tupleType(Core.Tuple tuple, @Nullable List<Binding> bindings2)Returns whether tuple is something like "{i = i, j = j}".Core.WhereCoreBuilder. where(List<Binding> bindings, Core.Exp exp)Core.YieldCoreBuilder. yield_(List<Binding> bindings, Core.Exp exp)FromBuilderFromBuilder. yield_(boolean uselessIfLast, @Nullable List<Binding> bindings2, Core.Exp exp)Creates a "yield" step.Constructor parameters in net.hydromatic.morel.ast with type arguments of type Binding Constructor Description FromStep(Op op, com.google.common.collect.ImmutableList<Binding> bindings)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)Order(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableList<Core.OrderItem> orderItems)Scan(Op op, com.google.common.collect.ImmutableList<Binding> bindings, Core.Pat pat, Core.Exp exp, Core.Exp condition)Where(com.google.common.collect.ImmutableList<Binding> bindings, Core.Exp exp)Yield(com.google.common.collect.ImmutableList<Binding> bindings, Core.Exp exp) -
Uses of Binding in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile declared as Binding Modifier and Type Field Description private BindingEnvironments.SubEnvironment. bindingFields in net.hydromatic.morel.compile with type parameters of type Binding Modifier and Type Field Description private List<Binding>Compiles.PatternBinder. bindingsprivate Map<Core.NamedPat,Binding>Environments.MapEnvironment. mapMethods in net.hydromatic.morel.compile that return Binding Modifier and Type Method Description abstract @Nullable BindingEnvironment. getOpt(String name)Returns the binding ofnameif bound, null if not.abstract @Nullable BindingEnvironment. getOpt(Core.NamedPat id)Returns the binding ofidif bound, null if not.@Nullable BindingEnvironments.EmptyEnvironment. getOpt(String name)@Nullable BindingEnvironments.EmptyEnvironment. getOpt(Core.NamedPat id)@Nullable BindingEnvironments.MapEnvironment. getOpt(String name)@Nullable BindingEnvironments.MapEnvironment. getOpt(Core.NamedPat id)@Nullable BindingEnvironments.SubEnvironment. getOpt(String name)@Nullable BindingEnvironments.SubEnvironment. getOpt(Core.NamedPat id)Methods in net.hydromatic.morel.compile that return types with arguments of type Binding Modifier and Type Method Description Map<String,Binding>Environment. getValueMap()Returns a map of the values and bindings.private com.google.common.collect.ImmutableSortedMap<String,Binding>Compiler. sortedBindingMap(Iterable<Binding> bindings)Methods in net.hydromatic.morel.compile with parameters of type Binding Modifier and Type Method Description protected AnalyzerAnalyzer. bind(Binding binding)protected EnvironmentEnvironment. bind(Binding binding)protected EnvironmentEnvironments.SubEnvironment. bind(Binding binding)protected abstract EnvShuttleEnvShuttle. bind(Binding binding)Creates a shuttle the same as this but overriding a binding.protected abstract EnvVisitorEnvVisitor. bind(Binding binding)Creates a shuttle the same as this but overriding a binding.protected EnvShuttleInliner. bind(Binding binding)protected EnvVisitorRefChecker. bind(Binding binding)protected EnvShuttleRelationalizer. bind(Binding binding)protected Resolver.ReferenceFinderResolver.ReferenceFinder. bind(Binding binding)private Core.NamedPatResolver. getIdPat(Ast.Id id, Binding binding)Converts 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 Binding Modifier and Type Method Description static voidCompiles. acceptBinding(TypeSystem typeSystem, Core.Pat pat, List<Binding> bindings)Visits a pattern, adding bindings to a list.protected AnalyzerAnalyzer. bind(List<Binding> bindingList)(package private) static EnvironmentEnvironments. bind(Environment env, Iterable<Binding> bindings)Creates an environment that is a given environment plus bindings.protected abstract EnvShuttleEnvShuttle. bind(List<Binding> bindingList)Creates a shuttle the same as this but with overriding bindings.protected abstract EnvVisitorEnvVisitor. bind(List<Binding> bindingList)Creates a shuttle the same as this but with overriding bindings.protected InlinerInliner. bind(List<Binding> bindingList)protected EnvVisitorRefChecker. bind(List<Binding> bindingList)protected RelationalizerRelationalizer. bind(List<Binding> bindingList)protected Resolver.ReferenceFinderResolver.ReferenceFinder. bind(List<Binding> bindingList)(package private) CalciteCompiler.RelContextCalciteCompiler.RelContext. bindAll(Iterable<Binding> bindings)(package private) Compiler.ContextCompiler.Context. bindAll(Iterable<Binding> bindings)EnvironmentEnvironment. bindAll(Iterable<Binding> bindings)Creates 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.ResolvedDeclResolver. resolve(Ast.Decl decl, List<Binding> bindings)private Resolver.ResolvedDatatypeDeclResolver. resolveDatatypeDecl(Ast.DatatypeDecl decl, List<Binding> bindings)private Resolver.ResolvedValDeclResolver. resolveValDecl(Ast.ValDecl valDecl, List<Binding> bindings)private com.google.common.collect.ImmutableSortedMap<String,Binding>Compiler. sortedBindingMap(Iterable<Binding> bindings)(package private) abstract voidEnvironment. visit(Consumer<Binding> consumer)Visits every variable binding in this environment.(package private) voidEnvironments.EmptyEnvironment. visit(Consumer<Binding> consumer)(package private) voidEnvironments.MapEnvironment. visit(Consumer<Binding> consumer)(package private) voidEnvironments.SubEnvironment. visit(Consumer<Binding> consumer)voidEnvVisitor. visitStep(Core.FromStep step, List<Binding> bindings)ResolverResolver. withEnv(Iterable<Binding> bindings)Binds a Resolver to an environment that consists of the current environment plus some bindings.Constructors in net.hydromatic.morel.compile with parameters of type Binding Constructor Description SubEnvironment(Environment parent, Binding binding)Constructor parameters in net.hydromatic.morel.compile with type arguments of type Binding Constructor Description MapEnvironment(Environment parent, com.google.common.collect.ImmutableMap<Core.NamedPat,Binding> map)PatternBinder(TypeSystem typeSystem, List<Binding> bindings) -
Uses of Binding in net.hydromatic.morel.type
Methods in net.hydromatic.morel.type that return Binding Modifier and Type Method Description BindingTypeSystem. bindTyCon(DataType dataType, String tyConName)Creates 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)BindingBinding. withParameter(boolean parameter)
-