Class: JMESPath::ExprNode Private
- Inherits:
-
Object
- Object
- JMESPath::ExprNode
- 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
- #interpreter ⇒ Object readonly private
- #node ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(interpreter, node) ⇒ ExprNode
constructor
private
A new instance of ExprNode.
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
#interpreter ⇒ Object (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 |
#node ⇒ Object (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 |