Results for: "Array.new"

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

def comment_targets: () -> Array[Node | Location]

attr_reader operator_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader operator_loc: Location

def comment_targets: () -> Array[Node | Location]

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

def comment_targets: () -> Array[Node | Location]

attr_reader operator_loc: Location

def comment_targets: () -> Array[Node | Location]

attr_reader operator_loc: Location

def comment_targets: () -> Array[Node | Location]

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

Delegates to the end_line of the associated location object.

The start offset of the node in the source. This method is effectively a delegate method to the location object.

Delegates to the start_column of the associated location object.

Delegates to the trailing_comments of the associated location object.

Returns all of the lines of the source code associated with this node.

An alias for source_lines, used to mimic the API from RubyVM::AbstractSyntaxTree to make it easier to migrate.

Slice the location of the node from the source, starting at the beginning of the line that the location starts on, ending at the end of the line that the location ends on.

Returns true if the node has the static literal flag set.

Returns an array of child nodes and locations that could potentially have comments attached to them.

def comment_targets: () -> Array[Node | Location]

def comment_targets: () -> Array[Node | Location]

def comment_targets: () -> Array[Node | Location]

Search took: 6ms  ·  Total Results: 3535