lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a &blk
argument in the method definition (but not in the method call, see BlockPass
)
More...
#include <nodes.hpp>
Public Attributes | |
MaybeString | name |
Name of the argument, String("foo") for def m(&foo) More... | |
Loc | operator_l |
MaybeLoc | name_l |
Loc | expression_l |
Represents a &blk
argument in the method definition (but not in the method call, see BlockPass
)
Loc lib_ruby_parser::Blockarg::expression_l |
Location of the full expression
MaybeString lib_ruby_parser::Blockarg::name |
Name of the argument, String("foo")
for def m(&foo)
MaybeLoc lib_ruby_parser::Blockarg::name_l |
Location of the name
Loc lib_ruby_parser::Blockarg::operator_l |
Location of the &
operator