Package net.hydromatic.morel.ast
Class Ast.Decl
- java.lang.Object
-
- net.hydromatic.morel.ast.AstNode
-
- net.hydromatic.morel.ast.Ast.Decl
-
- Direct Known Subclasses:
Ast.DatatypeDecl,Ast.FunDecl,Ast.ValDecl
- Enclosing class:
- Ast
public abstract static class Ast.Decl extends AstNode
Base class for declarations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Ast.Declaccept(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.
-