Class: LibRubyParser::Nodes::Kwnilarg

Inherits:
LibRubyParser::Node show all
Defined in:
lib/lib-ruby-parser/nodes.rb

Overview

Represents an special argument that rejects all keyword arguments (i.e. def m(**nil); end)

Instance Attribute Summary collapse

Instance Attribute Details

#expression_lLoc (readonly)

Location of the nil

def m(**nil); end
      ~~~~~

Returns:



2355
2356
2357
# File 'lib/lib-ruby-parser/nodes.rb', line 2355

def expression_l
  @expression_l
end

#name_lLoc (readonly)

Location of the nil

def m(**nil); end
        ~~~

Returns:



2346
2347
2348
# File 'lib/lib-ruby-parser/nodes.rb', line 2346

def name_l
  @name_l
end