Class: JsonQuery::FieldAccessExpression
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- JsonQuery::FieldAccessExpression
- Defined in:
- lib/json_query/nodes.rb
Instance Method Summary collapse
Instance Method Details
#value(root, symbols, current = nil) ⇒ Object
67 68 69 70 |
# File 'lib/json_query/nodes.rb', line 67 def value(root, symbols, current = nil) exprs = [first] + others.elements.map { |e| e.expression } exprs.map { |e| e.value(root, symbols, current) } end |