Class: Cyrel::AST::UnwindNode
- Inherits:
-
ClauseNode
- Object
- Node
- ClauseNode
- Cyrel::AST::UnwindNode
- Defined in:
- lib/cyrel/ast/unwind_node.rb
Instance Attribute Summary collapse
-
#alias_name ⇒ Object
readonly
Returns the value of attribute alias_name.
-
#expression ⇒ Object
readonly
Returns the value of attribute expression.
Instance Method Summary collapse
-
#initialize(expression, alias_name) ⇒ UnwindNode
constructor
A new instance of UnwindNode.
Methods inherited from Node
Constructor Details
#initialize(expression, alias_name) ⇒ UnwindNode
Returns a new instance of UnwindNode.
8 9 10 11 |
# File 'lib/cyrel/ast/unwind_node.rb', line 8 def initialize(expression, alias_name) @expression = expression @alias_name = alias_name end |
Instance Attribute Details
#alias_name ⇒ Object (readonly)
Returns the value of attribute alias_name.
6 7 8 |
# File 'lib/cyrel/ast/unwind_node.rb', line 6 def alias_name @alias_name end |
#expression ⇒ Object (readonly)
Returns the value of attribute expression.
6 7 8 |
# File 'lib/cyrel/ast/unwind_node.rb', line 6 def expression @expression end |