class YARP::MatchRequiredNode
^^^^^^^^^^
foo => bar
Represents the use of the ‘=>` operator.
def accept(visitor)
def accept(visitor) visitor.visit_match_required_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