Package net.hydromatic.morel.ast
Class Ast.RecordType
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Type
net.hydromatic.morel.ast.Ast.RecordType
- Enclosing class:
Ast
Parse tree node of a record type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecordType(Pos pos, com.google.common.collect.ImmutableMap<String, Ast.Type> fieldTypes) Creates a record type. -
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
-
fieldTypes
-
-
Constructor Details
-
RecordType
Creates a record type.
-
-
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
-