lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents positional 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 positional rest argument (i.e. *foo
in def m(*foo); end
)
Loc lib_ruby_parser::Restarg::expression_l |
Location of the full expression
MaybeString lib_ruby_parser::Restarg::name |
Name of the argument.
None
if argument has no name (i.e. def m(*); end
)
MaybeLoc lib_ruby_parser::Restarg::name_l |
Location of the argument name
Loc lib_ruby_parser::Restarg::operator_l |
Location of the *
operator