Package net.hydromatic.morel.ast
Class Core.Order
java.lang.Object
net.hydromatic.morel.ast.AstNode
net.hydromatic.morel.ast.Core.BaseNode
net.hydromatic.morel.ast.Core.FromStep
net.hydromatic.morel.ast.Core.Order
- Enclosing class:
Core
An
order clause in a from expression.-
Field Summary
FieldsFields inherited from class net.hydromatic.morel.ast.Core.FromStep
bindings -
Constructor Summary
ConstructorsConstructorDescriptionOrder(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableList<Core.OrderItem> orderItems) -
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<Binding> bindings, List<Core.OrderItem> orderItems) protected AstWriterMethods inherited from class net.hydromatic.morel.ast.Core.FromStep
unparse
-
Field Details
-
orderItems
-
-
Constructor Details
-
Order
Order(com.google.common.collect.ImmutableList<Binding> bindings, com.google.common.collect.ImmutableList<Core.OrderItem> orderItems)
-
-
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.- Specified by:
acceptin classCore.FromStep
-
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
-
unparse
- Specified by:
unparsein classCore.FromStep
-
copy
-