Results for: "remove_const"

attr_reader binary_operator_loc: Location

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.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the location of the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator_loc.

Initialize a new ConstantPathOrWriteNode 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 ConstantPathTargetNode node.

def accept: (Visitor visitor) -> void

def child_nodes: () -> Array[nil | Node]

attr_reader delimiter_loc: Location

attr_reader name_loc: Location

def delimiter: () -> 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.

Returns the list of parts for the full name of this constant path. For example: [:Foo, :Bar]

Returns the full name of this constant path. For example: “Foo::Bar”

Search took: 12ms  ·  Total Results: 5438