|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a &blk argument of the method call (but not of the method definition, see BlockArg)
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | value |
| Loc | operator_l |
| Loc | expression_l |
Represents a &blk argument of the method call (but not of the method definition, see BlockArg)
| Loc lib_ruby_parser::BlockPass::expression_l |
Location of the full expression
| Loc lib_ruby_parser::BlockPass::operator_l |
Location of the & operator
| Node* lib_ruby_parser::BlockPass::value |
Value that is converted to a block
Int("1") in foo(&1) (yes, it's possible)