Package net.hydromatic.morel.ast
Class Core.IdPat
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Core.BaseNode
net.hydromatic.morel.ast.Core.Pat
net.hydromatic.morel.ast.Core.NamedPat
net.hydromatic.morel.ast.Core.IdPat
- All Implemented Interfaces:
Comparable<Core.NamedPat>
- Enclosing class:
Core
Named pattern.
- See Also:
-
Field Summary
Fields inherited from class net.hydromatic.morel.ast.Core.NamedPat
i, name, ORDERING -
Constructor Summary
Constructors -
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) AstWriterMethods inherited from class net.hydromatic.morel.ast.Core.NamedPat
compare, compareTo
-
Constructor Details
-
IdPat
-
-
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.NamedPat
-
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
-
withType
- Specified by:
withTypein classCore.NamedPat
-