Class: JMESPath::Nodes::Node Private

Inherits:
Object
  • Object
show all
Defined in:
lib/jmespath/nodes.rb

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

Instance Method Summary collapse

Instance Method Details

#chains_with?(other) ⇒ Boolean

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.

Returns:

  • (Boolean)


16
17
18
# File 'lib/jmespath/nodes.rb', line 16

def chains_with?(other)
  false
end

#hash_like?(value) ⇒ Boolean

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.

Returns:

  • (Boolean)


8
9
10
# File 'lib/jmespath/nodes.rb', line 8

def hash_like?(value)
  Hash === value || Struct === value
end

#optimizeObject

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.



12
13
14
# File 'lib/jmespath/nodes.rb', line 12

def optimize
  self
end

#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.



5
6
# File 'lib/jmespath/nodes.rb', line 5

def visit(value)
end