Results for: "match"

Reset nil attributes to their default values to make the spec valid

Return the best specification in the record that contains the file matching path, among those already activated.

Parses the most indented lines into blocks that are marked and added to the frontier

Returns the node id for the given backtrace location.

begin
  raise
rescue =>  e
  loc = e.backtrace_locations.first
  RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(loc)
end # => 0

foo => [bar] ^^^^^

def foo(); bar(); end ^^

{ **foo } ^^^^^

foo => bar => baz ^^^^^^^^^^

Foo::Bar ^^^^^^^^

“foo #{bar}” ^^^^^^

foo => [, bar, ] ^^^^^^^^^^^

foo => {} ^^

“foo #{bar}” ^^^^^^^^^^^^

:“foo #{bar}” ^^^^^^^^^^^^^

foo #{bar} ^^^^^^^^^^^^

When the content of a string node is split across multiple lines, the parser gem creates individual string nodes for each line the content is part of.

foo => [bar]
       ^^^^^
def foo(**); bar(**); end
                 ^^

{ **foo }
  ^^^^^
foo => bar => baz
       ^^^^^^^^^^
Foo::Bar
^^^^^^^^
"foo #{bar}"
     ^^^^^^
foo => [*, bar, *]
       ^^^^^^^^^^^
foo => {}
       ^^
"foo #{bar}"
^^^^^^^^^^^^
:"foo #{bar}"
^^^^^^^^^^^^^
`foo #{bar}`
^^^^^^^^^^^^
Search took: 5ms  ·  Total Results: 1778