Package net.hydromatic.morel.ast
Class Core.RecValDecl
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
net.hydromatic.morel.ast.Core.RecValDecl
- Enclosing class:
Core
Recursive value declaration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.google.common.collect.ImmutableList<Core.NonRecValDecl> -
Constructor Summary
ConstructorsConstructorDescriptionRecValDecl(com.google.common.collect.ImmutableList<Core.NonRecValDecl> list) -
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.copy(List<Core.NonRecValDecl> list) booleanvoidforEachBinding(Core.BindingConsumer consumer) inthashCode()(package private) AstWriter
-
Field Details
-
list
-
-
Constructor Details
-
RecValDecl
RecValDecl(com.google.common.collect.ImmutableList<Core.NonRecValDecl> list)
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
unparse
-
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.- Specified by:
acceptin classCore.ValDecl
-
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.- Overrides:
acceptin classCore.BaseNode
-
forEachBinding
- Specified by:
forEachBindingin classCore.ValDecl
-
copy
-