Class: JMESPath::Nodes::ComparatorCondition Private
- Defined in:
- lib/jmespath/nodes/condition.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.
Direct Known Subclasses
EqCondition, GtCondition, GteCondition, LtCondition, LteCondition, NeqCondition
Constant Summary collapse
- COMPARATOR_TO_CONDITION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{}
- COMPARABLE_TYPES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
[Numeric, String].freeze
Instance Method Summary collapse
-
#initialize(left, right, child) ⇒ ComparatorCondition
constructor
private
A new instance of ComparatorCondition.
- #visit(_value) ⇒ Object private
Methods inherited from Node
Constructor Details
#initialize(left, right, child) ⇒ ComparatorCondition
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 ComparatorCondition.
33 34 35 36 37 |
# File 'lib/jmespath/nodes/condition.rb', line 33 def initialize(left, right, child) @left = left @right = right @child = child end |
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.
39 40 41 |
# File 'lib/jmespath/nodes/condition.rb', line 39 def visit(_value) nil end |