class YARP::ConstantWriteNode
^^^^^^^
Foo = 1
Represents writing to a constant.
def accept(visitor)
def accept(visitor) visitor.visit_constant_write_node(self) end
def child_nodes
def child_nodes [value] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { name_loc: name_loc, value: value, operator_loc: operator_loc, location: location } end
def initialize(name_loc, value, operator_loc, location)
def initialize(name_loc, value, operator_loc, location) @name_loc = name_loc @value = value @operator_loc = operator_loc @location = location end
def name
def name name_loc.slice end
def operator
def operator operator_loc&.slice end