Uses of Class
net.hydromatic.morel.ast.Ast.ValDecl
Packages that use Ast.ValDecl
Package
Description
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.-
Uses of Ast.ValDecl in net.hydromatic.morel.ast
Methods in net.hydromatic.morel.ast that return Ast.ValDeclModifier and TypeMethodDescriptionAst.ValDecl.copy(Iterable<Ast.ValBind> valBinds) Creates a copy of thisValDeclwith given contents, orthisif the contents are the same.AstBuilder.valDecl(Pos pos, boolean rec, Iterable<? extends Ast.ValBind> valBinds) AstBuilder.valDecl(Pos pos, boolean rec, Ast.ValBind... valBinds) protected Ast.ValDeclShuttle.visit(Ast.ValDecl valDecl) Methods in net.hydromatic.morel.ast with parameters of type Ast.ValDeclModifier and TypeMethodDescriptionprotected Ast.ValDeclShuttle.visit(Ast.ValDecl valDecl) protected voidVisitor.visit(Ast.ValDecl valDecl) -
Uses of Ast.ValDecl in net.hydromatic.morel.compile
Methods in net.hydromatic.morel.compile that return Ast.ValDeclModifier and TypeMethodDescriptionstatic Ast.ValDeclConvertsetoval = e.static Ast.ValDeclConverts an expression or value declaration to a value declaration.private Ast.ValDeclTypeResolver.toValDecl(TypeResolver.TypeEnv env, Ast.FunDecl funDecl) Converts a function declaration to a value declaration.Methods in net.hydromatic.morel.compile with parameters of type Ast.ValDeclModifier and TypeMethodDescriptionprivate Ast.DeclTypeResolver.deduceValDeclType(TypeResolver.TypeEnv env, Ast.ValDecl valDecl, Map<Ast.IdPat, Unifier.Term> termMap) private Resolver.ResolvedValDeclResolver.resolveValDecl(Ast.ValDecl valDecl, List<Binding> bindings) Resolver.toCore(Ast.ValDecl valDecl)