Package net.hydromatic.morel.ast
Class Ast.Current
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Ast.Exp
net.hydromatic.morel.ast.Ast.Current
- Enclosing class:
Ast
Parse tree node of the "current" reference.
current references the current row in a step of a query. Also,
it is name of the sole field returned by an atom yield (e.g. yield x
+ 2) with an expression for which AstBuilder.implicitLabelOpt(Ast.Exp) cannot
derive a label.
-
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
-
Current
Current(Pos pos) Creates a Current.
-
-
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
-