def accept: (Visitor
visitor) -> void
def child_nodes
: () -> Array[nil | Node]
attr_reader operator_loc
: Location
def operator: () -> String
Return a symbol representation of this node type. See ‘Node#type`.
Return a symbol representation of this node type. See ‘Node::type`.
Implements case-equality for the node. This is effectively == but without comparing the value of locations. Locations are checked only for presence.
Initialize a new ConstantOrWriteNode
node.
def accept: (Visitor
visitor) -> void
def child_nodes
: () -> Array[nil | Node]
attr_reader operator_loc
: Location
def operator: () -> String
Return a symbol representation of this node type. See ‘Node#type`.
Return a symbol representation of this node type. See ‘Node::type`.
Implements case-equality for the node. This is effectively == but without comparing the value of locations. Locations are checked only for presence.
Initialize a new ConstantOperatorWriteNode
node.
def accept: (Visitor
visitor) -> void
def child_nodes
: () -> Array[nil | Node]
Return a symbol representation of this node type. See ‘Node#type`.
Return a symbol representation of this node type. See ‘Node::type`.
Implements case-equality for the node. This is effectively == but without comparing the value of locations. Locations are checked only for presence.