Uses of Class
net.hydromatic.morel.ast.Core.IdPat
Packages that use Core.IdPat
Package
Description
Abstract syntax tree.
Validates programs (represented as
AstNode),
deduces their type, and compiles them into code that can be evaluated.Type system.
-
Uses of Core.IdPat in net.hydromatic.morel.ast
Fields in net.hydromatic.morel.ast declared as Core.IdPatModifier and TypeFieldDescriptionfinal Core.IdPatCore.Fn.idPatfinal @Nullable Core.IdPatCore.NonRecValDecl.overloadPatIf an 'inst', the overloaded name, otherwise null.final Core.IdPatCore.OverDecl.patFields in net.hydromatic.morel.ast with type parameters of type Core.IdPatModifier and TypeFieldDescriptionfinal SortedMap<Core.IdPat, Core.Aggregate> Core.Group.aggregatesfinal SortedMap<Core.IdPat, Core.Exp> Core.Group.groupExpsMethods in net.hydromatic.morel.ast that return Core.IdPatModifier and TypeMethodDescriptionCreates an IdPat with a given name and ordinal.CoreBuilder.idPat(Type type, String name, ToIntFunction<String> nameGenerator) Creates an IdPat with a given name, generating an ordinal to distinguish it from other declarations with the same name elsewhere in the program.Creates an IdPat with a system-generated unique name.protected Core.IdPatShuttle.visit(Core.IdPat idPat) Methods in net.hydromatic.morel.ast with parameters of type Core.IdPatModifier and TypeMethodDescriptionvoidCore.BindingConsumer.accept(Core.NamedPat pat, Core.Exp exp, @Nullable Core.IdPat overloadPat, Pos pos) Core.Fn.copy(Core.IdPat idPat, Core.Exp exp) Core.NonRecValDecl.copy(Core.NamedPat pat, Core.Exp exp, @Nullable Core.IdPat overloadPat) CoreBuilder.fn(FnType type, Core.IdPat idPat, Core.Exp exp) CoreBuilder.nonRecValDecl(Pos pos, Core.NamedPat pat, @Nullable Core.IdPat overloadPat, Core.Exp exp) CoreBuilder.overDecl(Core.IdPat pat) protected Core.IdPatShuttle.visit(Core.IdPat idPat) protected voidVisitor.visit(Core.IdPat idPat) Method parameters in net.hydromatic.morel.ast with type arguments of type Core.IdPatModifier and TypeMethodDescriptionCore.Group.copy(SortedMap<Core.IdPat, Core.Exp> groupExps, SortedMap<Core.IdPat, Core.Aggregate> aggregates) CoreBuilder.group(SortedMap<Core.IdPat, Core.Exp> groupExps, SortedMap<Core.IdPat, Core.Aggregate> aggregates) FromBuilder.group(SortedMap<Core.IdPat, Core.Exp> groupExps, SortedMap<Core.IdPat, Core.Aggregate> aggregates) Constructors in net.hydromatic.morel.ast with parameters of type Core.IdPatModifierConstructorDescription(package private)Fn(FnType type, Core.IdPat idPat, Core.Exp exp) (package private)NonRecValDecl(Core.NamedPat pat, Core.Exp exp, @Nullable Core.IdPat overloadPat, Pos pos) (package private)OverDecl(Core.IdPat pat) Constructor parameters in net.hydromatic.morel.ast with type arguments of type Core.IdPatModifierConstructorDescription(package private)Group(Core.StepEnv env, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.Exp> groupExps, com.google.common.collect.ImmutableSortedMap<Core.IdPat, Core.Aggregate> aggregates) -
Uses of Core.IdPat in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile with type parameters of type Core.IdPatModifier and TypeFieldDescription(package private) final PairList<Core.IdPat, Core.Exp> Extents.Extent.idPatsNew variables introduced as scans over an existing relation (list of records).private final com.google.common.collect.ImmutableMultimap<Core.IdPat, Binding> Environments.MapEnvironment.instanceMapprivate final Map<String, Pair<Core.IdPat, List<Core.IdPat>>> Resolver.resolvedOverloadsprivate final Map<String, Pair<Core.IdPat, List<Core.IdPat>>> Resolver.resolvedOverloadsMethods in net.hydromatic.morel.compile that return Core.IdPatModifier and TypeMethodDescriptionprivate Core.IdPatprivate @Nullable Core.IdPatResolver.getOverload(Core.IdPat pat) private Core.IdPatConverts an id in a declaration to Core.Methods in net.hydromatic.morel.compile that return types with arguments of type Core.IdPatModifier and TypeMethodDescriptionprivate static List<Core.IdPat> Converts a singleton id pattern "x" or tuple pattern "(x, y)" to a list of id patterns.Environment.getOverloads(Core.IdPat id) Methods in net.hydromatic.morel.compile with parameters of type Core.IdPatModifier and TypeMethodDescriptionEnvironment.bind(Core.IdPat id, Object value) Creates an environment that is the same as a given environment, plus one more variable.private @Nullable Core.IdPatResolver.getOverload(Core.IdPat pat) Environment.getOverloads(Core.IdPat id) protected voidAnalyzer.visit(Core.IdPat idPat) protected voidCompiles.PatternBinder.visit(Core.IdPat idPat) Method parameters in net.hydromatic.morel.compile with type arguments of type Core.IdPatModifier and TypeMethodDescriptionstatic Extents.AnalysisExtents.create(TypeSystem typeSystem, Core.Pat pat, SortedMap<Core.NamedPat, Core.Exp> boundPats, Iterable<? extends Core.FromStep> followingSteps, PairList<Core.IdPat, Core.Exp> idPats) Analyzes the extent of a pattern in an expression and creates anExtents.Analysis.private voidSuchThatShuttle.FromVisitor.killTemporaryScans(PairList<Core.IdPat, Core.Exp> idPats) private Core.FromSuchThatShuttle.FromVisitor.rewrite1(Core.Scan scan, List<? extends Core.FromStep> laterSteps, PairList<Core.IdPat, Core.Exp> idPats) Rewrites an unbounded scan to afromexpression, using predicates in later steps to determine the ranges of variables.private Core.AggregateResolver.toCore(Ast.Aggregate aggregate, Collection<? extends Core.IdPat> groupKeys) Constructor parameters in net.hydromatic.morel.compile with type arguments of type Core.IdPatModifierConstructorDescription(package private)Extent(TypeSystem typeSystem, Core.Pat pat, SortedMap<Core.NamedPat, Core.Exp> boundPats, PairList<Core.IdPat, Core.Exp> idPats) (package private)MapEnvironment(Environment parent, com.google.common.collect.ImmutableMap<Core.NamedPat, Binding> map, com.google.common.collect.ImmutableMultimap<Core.IdPat, Binding> instanceMap) -
Uses of Core.IdPat in net.hydromatic.morel.type
Fields in net.hydromatic.morel.type declared as Core.IdPatMethods in net.hydromatic.morel.type with parameters of type Core.IdPatModifier and TypeMethodDescriptionstatic BindingBinding.inst(Core.NamedPat id, Core.IdPat overloadId, Object value) static BindingBinding.inst(Core.NamedPat id, Core.IdPat overloadId, Core.Exp exp) Constructors in net.hydromatic.morel.type with parameters of type Core.IdPatModifierConstructorDescriptionprivateBinding(Core.NamedPat id, @Nullable Core.IdPat overloadId, Core.Exp exp, Object value, boolean parameter, Binding.Kind kind)