Package net.hydromatic.morel.ast
Class Ast.FunDecl
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Decl
net.hydromatic.morel.ast.Ast.FunDecl
- Enclosing class:
Ast
Parse tree node of a function declaration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFunDecl(Pos pos, com.google.common.collect.ImmutableList<Ast.FunBind> funBinds) -
Method Summary
Modifier and TypeMethodDescriptionAccepts a shuttle, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.voidAccepts a visitor, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result.booleaninthashCode()(package private) AstWriter
-
Field Details
-
funBinds
-
-
Constructor Details
-
FunDecl
FunDecl(Pos pos, com.google.common.collect.ImmutableList<Ast.FunBind> funBinds)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
accept
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. -
accept
Description copied from class:AstNodeAccepts a visitor, calling theShuttle.visit(net.hydromatic.morel.ast.Ast.Literal)method appropriate to the type of this node, and returning the result. -
unparse
-