Results for: "Pathname"

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]

Represents the alternation operator location.

foo => bar | baz
           ^

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

The location of the ‘and` keyword or the `&&` operator.

left and right
     ^^^

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

def contains_splat?: () -> bool

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

def contains_splat?: () -> bool

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

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

The location of the ‘=>` operator, if present.

{ foo => bar }
      ^^

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

The location of the ‘**` operator.

{ **x }
  ^^

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

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

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

Represents the location of the ‘&` operator.

foo(&args)
    ^

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

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

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

Represents the location of the ‘&` operator.

def a(&b)
      ^
end
Search took: 6ms  ·  Total Results: 3460