Class: Rasti::DB::NQL::Nodes::BinaryNode
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Rasti::DB::NQL::Nodes::BinaryNode
- Defined in:
- lib/rasti/db/nql/nodes/binary_node.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#computed_attributes(collection_class) ⇒ Object
11 12 13 |
# File 'lib/rasti/db/nql/nodes/binary_node.rb', line 11 def computed_attributes(collection_class) left.computed_attributes(collection_class) | right.computed_attributes(collection_class) end |
#dependency_tables ⇒ Object
7 8 9 |
# File 'lib/rasti/db/nql/nodes/binary_node.rb', line 7 def dependency_tables values.flat_map(&:dependency_tables) end |
#values ⇒ Object
15 16 17 |
# File 'lib/rasti/db/nql/nodes/binary_node.rb', line 15 def values @values ||= values_for(left) + values_for(right) end |