|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a Ruby block that is passed to a method (proc { |foo| bar })
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | call |
| Node * | args |
| Node * | body |
Block body, None if block has no body. More... | |
| Loc | begin_l |
| Loc | end_l |
| Loc | expression_l |
Represents a Ruby block that is passed to a method (proc { |foo| bar })
| Node* lib_ruby_parser::Block::args |
| Loc lib_ruby_parser::Block::begin_l |
Location of the open brace
| Loc lib_ruby_parser::Block::end_l |
Location of the closing brace
| Loc lib_ruby_parser::Block::expression_l |
Location of the full expression