Class: Dentaku::AST::Grouping
Instance Method Summary collapse
- #dependencies(context = {}) ⇒ Object
-
#initialize(node) ⇒ Grouping
constructor
A new instance of Grouping.
- #type ⇒ Object
- #value(context = {}) ⇒ Object
Methods inherited from Node
Constructor Details
#initialize(node) ⇒ Grouping
Returns a new instance of Grouping.
6 7 8 |
# File 'lib/dentaku/ast/grouping.rb', line 6 def initialize(node) @node = node end |
Instance Method Details
#dependencies(context = {}) ⇒ Object
18 19 20 |
# File 'lib/dentaku/ast/grouping.rb', line 18 def dependencies(context = {}) @node.dependencies(context) end |
#type ⇒ Object
14 15 16 |
# File 'lib/dentaku/ast/grouping.rb', line 14 def type @node.type end |
#value(context = {}) ⇒ Object
10 11 12 |
# File 'lib/dentaku/ast/grouping.rb', line 10 def value(context = {}) @node.value(context) end |