Package net.hydromatic.morel.ast
Class Ast.Ordinal
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Exp
net.hydromatic.morel.ast.Ast.Ordinal
- Enclosing class:
Ast
Parse tree node of the "ordinal" reference.
ordinal is the 0-based ordinal of the current element in an
ordered iteration.
-
Field Summary
-
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.(package private) AstWriterMethods inherited from class net.hydromatic.morel.ast.Ast.Exp
args, forEachArg
-
Constructor Details
-
Ordinal
Ordinal(Pos pos) Creates an Ordinal.
-
-
Method Details
-
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
-