Package net.hydromatic.morel.ast
Class Ast.DatatypeDecl
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Decl
net.hydromatic.morel.ast.Ast.DatatypeDecl
- Enclosing class:
Ast
Parse tree node of a datatype declaration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDatatypeDecl(Pos pos, com.google.common.collect.ImmutableList<Ast.DatatypeBind> binds) -
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
-
binds
-
-
Constructor Details
-
DatatypeDecl
DatatypeDecl(Pos pos, com.google.common.collect.ImmutableList<Ast.DatatypeBind> binds)
-
-
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
-