Module: JMESPath::Nodes::FastProjector Private

Included in:
FastArrayProjection, FastObjectProjection
Defined in:
lib/jmespath/nodes/projection.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#visit(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



38
39
40
41
42
# File 'lib/jmespath/nodes/projection.rb', line 38

def visit(value)
  if (targets = extract_targets(@target.visit(value)))
    targets.compact
  end
end