Return the best specification in the record that contains the file matching path
amongst the specs that are not activated.
Finds code lines at the same or greater indentation and adds them to the block
Lines that have a ‘on_ignored_nl` type token and NOT a `BEG` type seem to be a good proxy for the ability to join multiple lines into one.
This predicate method is used to determine when those two criteria have been met.
The one known case this doesn’t handle is:
Ripper.lex <<~EOM a && b || c EOM
For some reason this introduces ‘on_ignore_newline` but with BEG type
Creates a self-signed certificate with an issuer and subject of subject
and the given extensions
for the key
.
foo => bar | baz ^^^^^^^^^
“foo #{bar}” ^^^^^^^^^^^^
foo #{bar}
^^^^^^^^^^^^
def foo(bar = 1); end ^^^^^^^
class << self; end ^^^^^^^^^^^^^^^^^^
ENCODING ^^^^^^^^^^^^
foo => bar | baz ^^^^^^^^^
"foo #{bar}" ^^^^^^^^^^^^
`foo #{bar}` ^^^^^^^^^^^^
def foo(bar = 1); end ^^^^^^^
class << self; end ^^^^^^^^^^^^^^^^^^
__ENCODING__ ^^^^^^^^^^^^
if /foo/ then end ^^^^^
def foo(bar: baz); end ^^^^^^^^
Whether this RR is in AliasMode.
Whether this RR is in ServiceMode.
module Foo; end ^^^^^^^^^^^^^^^