lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a keyword rest argument (i.e. foo
in def m(**foo); end
)
More...
#include <nodes.hpp>
Public Attributes | |
MaybeString | name |
Loc | operator_l |
MaybeLoc | name_l |
Loc | expression_l |
Represents a keyword rest argument (i.e. foo
in def m(**foo); end
)
Loc lib_ruby_parser::Kwrestarg::expression_l |
Location of the full expression
MaybeString lib_ruby_parser::Kwrestarg::name |
Name of the keyword rest argument, String("foo")
in def m(**foo); end
.
None
if argument has no name (def m(**); end
)
MaybeLoc lib_ruby_parser::Kwrestarg::name_l |
Location of the argument name
None
if argument has no name (def m(**); end
)
Loc lib_ruby_parser::Kwrestarg::operator_l |
Location of the **
operator