lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents an optional keyword argument (i.e. foo
in def m(foo: 42); end
)
More...
#include <nodes.hpp>
Public Attributes | |
String | name |
Name of the optional keyword argument. More... | |
Node * | default_ |
Default value of the optional keyword argument. More... | |
Loc | name_l |
Loc | expression_l |
Represents an optional keyword argument (i.e. foo
in def m(foo: 42); end
)
Node* lib_ruby_parser::Kwoptarg::default_ |
Default value of the optional keyword argument.
Loc lib_ruby_parser::Kwoptarg::expression_l |
Location of the argument name
String lib_ruby_parser::Kwoptarg::name |
Name of the optional keyword argument.
Loc lib_ruby_parser::Kwoptarg::name_l |
Location of the argument name