Package net.hydromatic.morel.ast
Class Core.ValDecl
- java.lang.Object
-
- net.hydromatic.morel.ast.AstNode
-
- net.hydromatic.morel.ast.Core.BaseNode
-
- net.hydromatic.morel.ast.Core.Decl
-
- net.hydromatic.morel.ast.Core.ValDecl
-
- Direct Known Subclasses:
Core.NonRecValDecl,Core.RecValDecl
- Enclosing class:
- Core
public abstract static class Core.ValDecl extends Core.Decl
Abstract (recursive or non-recursive) value declaration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Core.ValDeclaccept(Shuttle shuttle)Accepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.abstract voidforEachBinding(Core.BindingConsumer consumer)-
Methods inherited from class net.hydromatic.morel.ast.Core.BaseNode
accept
-
-
-
-
Method Detail
-
accept
public abstract Core.ValDecl accept(Shuttle shuttle)
Description copied from class:AstNodeAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.
-
forEachBinding
public abstract void forEachBinding(Core.BindingConsumer consumer)
-
-