Class: JMESPath::ExprNode Private

Inherits:
Object
  • Object
show all
Defined in:
lib/jmespath/expr_node.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 Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(interpreter, node) ⇒ ExprNode

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 a new instance of ExprNode.



5
6
7
8
# File 'lib/jmespath/expr_node.rb', line 5

def initialize(interpreter, node)
  @interpreter = interpreter
  @node = node
end

Instance Attribute Details

#interpreterObject (readonly)

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.



10
11
12
# File 'lib/jmespath/expr_node.rb', line 10

def interpreter
  @interpreter
end

#nodeObject (readonly)

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/expr_node.rb', line 12

def node
  @node
end