Results for: "OptionParser"

Copy a InstanceVariableReadNode node

Copy a InstanceVariableWriteNode node

Copy a LocalVariableReadNode node

Copy a LocalVariableWriteNode node

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

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

No documentation available

When there is an invalid block with a keyword missing an end right before another end, it is unclear where which keyword is missing the end

Take this example:

class Dog       # 1
  def bark      # 2
    puts "woof" # 3
end             # 4

However due to github.com/ruby/syntax_suggest/issues/32 the problem line will be identified as:

> class Dog       # 1

Because lines 2, 3, and 4 are technically valid code and are expanded first, deemed valid, and hidden. We need to un-hide the matching end line 4. Also work backwards and if there’s a mis-matched keyword, show it too

No documentation available

Compile a ClassVariableAndWriteNode node

Compile a ClassVariableOrWriteNode node

Compile a GlobalVariableAndWriteNode node

Compile a GlobalVariableOrWriteNode node

Compile a InstanceVariableAndWriteNode node

Compile a InstanceVariableOrWriteNode node

Compile a InterpolatedMatchLastLineNode node

Compile a LocalVariableAndWriteNode node

Compile a LocalVariableOrWriteNode node

@@foo &&= bar

becomes

@@foo && @@foo = bar

@@foo ||= bar

becomes

defined?(@@foo) ? @@foo : @@foo = bar

$foo &&= bar

becomes

$foo && $foo = bar

Search took: 7ms  ·  Total Results: 5424