Module: Siren::JsonQuery::FieldAccessExpression

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

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



99
100
101
102
# File 'lib/siren/json_query_nodes.rb', line 99

def value(root, symbols, current = nil)
  exprs = [first] + others.elements.map { |e| e.expression }
  exprs.map { |e| e.value(root, symbols, current) }
end