lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents optional positional argument (i.e. foo
in m(foo = 1)
)
More...
#include <nodes.hpp>
Public Attributes | |
String | name |
Name of the argument. More... | |
Node * | default_ |
Default value of the argument. More... | |
Loc | name_l |
Loc | operator_l |
Loc | expression_l |
Represents optional positional argument (i.e. foo
in m(foo = 1)
)
Node* lib_ruby_parser::Optarg::default_ |
Default value of the argument.
Loc lib_ruby_parser::Optarg::expression_l |
Location of the full expression
String lib_ruby_parser::Optarg::name |
Name of the argument.
Loc lib_ruby_parser::Optarg::name_l |
Location of the argument name
Loc lib_ruby_parser::Optarg::operator_l |
Location of the =
operator