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.-
Uses of Core.IdPat in net.hydromatic.morel.ast
Fields in net.hydromatic.morel.ast declared as Core.IdPatFields 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 TypeMethodDescriptionCore.Fn.copy(Core.IdPat idPat, Core.Exp exp) CoreBuilder.fn(FnType type, Core.IdPat idPat, Core.Exp exp) 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.IdPatConstructor parameters in net.hydromatic.morel.ast with type arguments of type Core.IdPatModifierConstructorDescription(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) -
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).Methods in net.hydromatic.morel.compile that return Core.IdPatModifier and TypeMethodDescriptionprivate Core.IdPatprivate 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.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.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)