Uses of Class
net.hydromatic.morel.compile.NameGenerator
Packages that use NameGenerator
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 NameGenerator in net.hydromatic.morel.ast
Methods in net.hydromatic.morel.ast with parameters of type NameGeneratorModifier and TypeMethodDescriptionCoreBuilder.asPat(Type type, String name, NameGenerator nameGenerator, Core.Pat pat) Creates an AsPat with a given name, generating an ordinal to distinguish it from other declarations with the same name elsewhere in the program.CoreBuilder.fn(Pos pos, FnType type, List<Core.Match> matchList, NameGenerator nameGenerator) 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. -
Uses of NameGenerator in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile declared as NameGeneratorConstructors in net.hydromatic.morel.compile with parameters of type NameGeneratorModifierConstructorDescriptionprivateResolver(TypeMap typeMap, NameGenerator nameGenerator, Map<Pair<Core.NamedPat, Type>, Core.NamedPat> variantIdMap, Environment env, @Nullable Session session) -
Uses of NameGenerator in net.hydromatic.morel.type
Fields in net.hydromatic.morel.type declared as NameGenerator