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, NameGenerator 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.CoreBuilder.idPat(Type type, NameGenerator nameGenerator) 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
Methods in net.hydromatic.morel.compile that return Core.IdPatMethods 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) voidCompiles.PatternBinder.visit(Core.IdPat idPat) Method parameters in net.hydromatic.morel.compile with type arguments of type Core.IdPatModifier and TypeMethodDescriptionprivate CodeCompiler.compileFieldNames(Compiler.Context cx, List<Core.IdPat> fieldNames) private Core.ExpSuchThatShuttle.rewrite(UnaryOperator<Core.NamedPat> mapper, SortedMap<Core.NamedPat, Core.Exp> boundPats, Map<Core.IdPat, Core.Exp> scans, List<Core.Exp> filters, List<Core.Exp> exps) Rewrites a "from vars suchthat condition" expression to a "from vars in list" expression; returns null if no rewrite is possible.private @Nullable Core.ExpSuchThatShuttle.rewriteElem(TypeSystem typeSystem, UnaryOperator<Core.NamedPat> mapper, SortedMap<Core.NamedPat, Core.Exp> boundPats, Map<Core.IdPat, Core.Exp> scans, List<Core.Exp> filters, Core.Exp a0, Core.Exp a1, List<Core.Exp> exps2) private Core.AggregateResolver.toCore(Ast.Aggregate aggregate, Collection<? extends Core.IdPat> groupKeys)