Uses of Interface
net.hydromatic.morel.util.PairList
Packages that use PairList
Package
Description
Abstract syntax tree.
Validates programs (represented as
AstNode),
deduces their type, and compiles them into code that can be evaluated.Evaluates expressions.
Utilities.
-
Uses of PairList in net.hydromatic.morel.ast
Methods in net.hydromatic.morel.ast with parameters of type PairList -
Uses of PairList in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile declared as PairListModifier 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 PairList<Unifier.Variable, PrimitiveType> TypeResolver.preferredTypes(package private) final PairList<Set<Core.Pat>, Consumer<FromBuilder>> SuchThatShuttle.DeferredStepList.stepsprivate final PairList<Ast.FromStep, TypeResolver.Triple> TypeResolver.stepStackFields in net.hydromatic.morel.compile with type parameters of type PairListMethods in net.hydromatic.morel.compile that return PairListModifier and TypeMethodDescriptionExtents.ExtentMap.get(TypeSystem typeSystem, Core.Pat pat) Extents.ExtentMap.get_(TypeSystem typeSystem, Core.Pat pat) Constructs an expression for the extent of a pattern.Methods in net.hydromatic.morel.compile with parameters of type PairListModifier and TypeMethodDescriptionprivate static TypeResolver.TypeEnvTypeResolver.bindAll(TypeResolver.TypeEnv env, PairList<Ast.IdPat, Unifier.Term> termMap) private voidTypeResolver.constrain(Unifier.Variable arg, Unifier.Variable result, PairList<Unifier.Term, Unifier.Term> argResults) Registers that a type variable is equivalent to at least one of a list of terms.static 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 voidTypeResolver.deduceDatatypeBindType(Ast.DatatypeBind datatypeBind, PairList<String, Type.Key> tyCons) private Ast.DeclTypeResolver.deduceDataTypeDeclType(TypeResolver.TypeEnv env, Ast.DatatypeDecl datatypeDecl, PairList<Ast.IdPat, Unifier.Term> termMap) private Ast.DeclTypeResolver.deduceDeclType(TypeResolver.TypeEnv env, Ast.Decl node, PairList<Ast.IdPat, Unifier.Term> termMap) private TypeResolver.TripleTypeResolver.deduceGroupStepType(TypeResolver.TypeEnv env, Ast.Group group, TypeResolver.Triple p, PairList<Ast.Id, Unifier.Variable> fieldVars, List<Ast.FromStep> fromSteps) private Ast.DeclTypeResolver.deduceOverDeclType(TypeResolver.TypeEnv env, Ast.OverDecl overDecl, PairList<Ast.IdPat, Unifier.Term> termMap) private TypeResolver.TripleTypeResolver.deduceScanStepType(Ast.Scan scan, TypeResolver.Triple p, PairList<Ast.Id, Unifier.Variable> fieldVars, List<Ast.FromStep> fromSteps) private TypeResolver.TripleTypeResolver.deduceStepType(TypeResolver.TypeEnv env, Ast.FromStep step, TypeResolver.Triple p, PairList<Ast.Id, Unifier.Variable> fieldVars, List<Ast.FromStep> fromSteps) private AstNodeTypeResolver.deduceValBindType(TypeResolver.TypeEnv env, Ast.ValBind valBind, PairList<Ast.IdPat, Unifier.Term> termMap, Unifier.Variable vPat) private Ast.DeclTypeResolver.deduceValDeclType(TypeResolver.TypeEnv env, Ast.ValDecl valDecl, PairList<Ast.IdPat, Unifier.Term> termMap) private Unifier.VariableTypeResolver.fieldVar(PairList<Ast.Id, Unifier.Variable> fieldVars) private voidSuchThatShuttle.FromVisitor.killTemporaryScans(PairList<Core.IdPat, Core.Exp> idPats) Extents.reduceAnd(TypeSystem typeSystem, PairList<Core.Exp, Core.Exp> extentFilters) Reduces a list of extent-filter pairs [e0, f0, e1, f1, ...] to an extent-filter pair [e0 intersect e1 ..., f0 andalso f1 ...].Extents.reduceOr(TypeSystem typeSystem, PairList<Core.Exp, Core.Exp> extentFilters) Reduces a list of extent-filter pairs [e0, f0, e1, f1, ...] to an extent-filter pair [e0 union e1 ..., f0 orelse f1 ...].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.Method parameters in net.hydromatic.morel.compile with type arguments of type PairListModifier and TypeMethodDescription(package private) voidConstructors in net.hydromatic.morel.compile with parameters of type PairListModifierConstructorDescription(package private)Extent(TypeSystem typeSystem, Core.Pat pat, SortedMap<Core.NamedPat, Core.Exp> boundPats, PairList<Core.IdPat, Core.Exp> idPats) -
Uses of PairList in net.hydromatic.morel.eval
Fields in net.hydromatic.morel.eval declared as PairListMethods in net.hydromatic.morel.eval that return PairListModifier and TypeMethodDescriptionFiles.FileType.deduceFields(BufferedReader r) Files.deduceFieldsCsv(BufferedReader r) Constructors in net.hydromatic.morel.eval with parameters of type PairList -
Uses of PairList in net.hydromatic.morel.util
Subinterfaces of PairList in net.hydromatic.morel.utilClasses in net.hydromatic.morel.util that implement PairListModifier and TypeClassDescription(package private) static classBase class for all implementations of PairList.(package private) static classImmutable list of pairs backed by an array.(package private) static classEmpty immutable list of pairs.(package private) static classList of pairs backed by a map.(package private) static classMutable version ofPairList.(package private) static classImmutable list that contains one pair.Fields in net.hydromatic.morel.util declared as PairListModifier and TypeFieldDescription(package private) final PairList<Unifier.Term, Unifier.Constraint.Action> MartelliUnifier.MutableConstraint.termActionsUnifier.Constraint.termActionsMethods in net.hydromatic.morel.util that return PairListModifier and TypeMethodDescriptionstatic <T,U> PairList <T, U> Creates a PairList backed by a given list.PairList.Builder.build()Builds the PairList.static <T,U> PairList <T, U> Creates an ImmutablePairList with one or more entries.static <T,U> PairList <T, U> Creates a PairList whose contents are a copy of a given collection of pairs.static <T,U> PairList <T, U> Creates a PairList with one or more entries.static <T,U> PairList <T, U> PairList.of()Creates an empty PairList.static <T,U> PairList <T, U> Creates a PairList from a Map.static <T,U> PairList <T, U> PairList.of(T t, U u) Creates a singleton PairList.static <T,U> PairList <T, U> Creates a PairList that is a view of a Map.static <T,U> PairList <T, U> PairList.withCapacity(int initialCapacity) Creates an empty PairList with a specified initial capacity.Methods in net.hydromatic.morel.util with parameters of type PairListModifier and TypeMethodDescriptiondefault booleanAdds to this list, at a given index, the contents of another PairList.default booleanAdds to this list the contents of another PairList.booleanbooleanUnifier.constraint(Unifier.Variable arg, PairList<Unifier.Term, Unifier.Constraint.Action> termActions) Creates a Constraint.Unifier.constraint(Unifier.Variable arg, Unifier.Variable result, PairList<Unifier.Term, Unifier.Term> argResults) Creates a constraint arising from a call to an overloaded function.Constructors in net.hydromatic.morel.util with parameters of type PairListModifierConstructorDescription(package private)Constraint(Unifier.Variable arg, PairList<Unifier.Term, Unifier.Constraint.Action> termActions) Creates a Constraint.(package private)MutableConstraint(Unifier.Variable arg, PairList<Unifier.Term, Unifier.Constraint.Action> termActions) Creates a MutableConstraint.