Class: JsonQuery::Multiplicative

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/json_query/nodes.rb

Instance Method Summary collapse

Instance Method Details

#value(root, symbols, current = nil) ⇒ Object



139
140
141
# File 'lib/json_query/nodes.rb', line 139

def value(root, symbols, current = nil)
  operator.value(first.value(root, symbols, current), second.value(root, symbols, current))
end