lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
#include <nodes.hpp>
Public Attributes | |
NodeList | args |
MaybeLoc | begin_l |
MaybeLoc | end_l |
Loc | expression_l |
Represents a sole block argument (e.g. |foo|
)
Block that takes a single array argument automatically expands it. Adding trailing comma after block argument disables this behavior (and then the only argument is emitted as Arg
).
NodeList lib_ruby_parser::Procarg0::args |
MaybeLoc lib_ruby_parser::Procarg0::begin_l |
Location of the open parenthesis
None
if there's only one argument
MaybeLoc lib_ruby_parser::Procarg0::end_l |
Location of the open parenthesis
None
if there's only one argument
Loc lib_ruby_parser::Procarg0::expression_l |
Location of the full expression