class YARP::MatchPredicateNode
^^^^^^^^^^
foo in bar
Represents the use of the modifier ‘in` operator.
def accept(visitor)
def accept(visitor) visitor.visit_match_predicate_node(self) end
def child_nodes
def child_nodes [value, pattern] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { value: value, pattern: pattern, operator_loc: operator_loc, location: location } end
def initialize(value, pattern, operator_loc, location)
def initialize(value, pattern, operator_loc, location) @value = value @pattern = pattern @operator_loc = operator_loc @location = location end
def operator
def operator operator_loc.slice end