lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a block that takes numbered parameters (i.e. proc { _1 }
)
More...
#include <nodes.hpp>
Public Attributes | |
Node * | call |
Method call that takes a block. More... | |
uint8_t | numargs |
Number of parameters that block takes. More... | |
Node * | body |
Block body. More... | |
Loc | begin_l |
Loc | end_l |
Loc | expression_l |
Represents a block that takes numbered parameters (i.e. proc { _1 }
)
Loc lib_ruby_parser::Numblock::begin_l |
Location of the open brace
Node* lib_ruby_parser::Numblock::call |
Method call that takes a block.
Loc lib_ruby_parser::Numblock::end_l |
Location of the closing brace
Loc lib_ruby_parser::Numblock::expression_l |
Location of the open brace
uint8_t lib_ruby_parser::Numblock::numargs |
Number of parameters that block takes.