Uses of Class
net.hydromatic.morel.ast.Ast.ValDecl
-
Packages that use Ast.ValDecl Package Description net.hydromatic.morel.ast Abstract syntax tree.net.hydromatic.morel.compile Validates programs (represented asAstNode), 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.ValDecl Modifier and Type Method Description Ast.ValDeclAst.ValDecl. accept(Shuttle shuttle)Ast.ValDeclAst.ValDecl. copy(Iterable<Ast.ValBind> valBinds)Creates a copy of thisValDeclwith given contents, orthisif the contents are the same.Ast.ValDeclAstBuilder. valDecl(Pos pos, boolean rec, Iterable<? extends Ast.ValBind> valBinds)Ast.ValDeclAstBuilder. 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.ValDecl Modifier and Type Method Description protected 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.ValDecl Modifier and Type Method Description static Ast.ValDeclCompiles. toValDecl(Ast.Exp statement)Convertsetoval = e.static Ast.ValDeclCompiles. toValDecl(AstNode statement)Converts 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.ValDecl Modifier and Type Method Description private 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)Core.ValDeclResolver. toCore(Ast.ValDecl valDecl)
-