|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents opening a singleton class (i.e. class << foo; ... end;)
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | expr |
| Node * | body |
| Body of the block. More... | |
| Loc | keyword_l |
| Loc | operator_l |
| Loc | end_l |
| Loc | expression_l |
Represents opening a singleton class (i.e. class << foo; ... end;)
| Node* lib_ruby_parser::SClass::body |
Body of the block.
| Loc lib_ruby_parser::SClass::end_l |
Location of the end keyword
| Node* lib_ruby_parser::SClass::expr |
Expression that is used to get a singleton class
Lvar("foo") for class << foo; end
| Loc lib_ruby_parser::SClass::expression_l |
Location of the full expression
| Loc lib_ruby_parser::SClass::keyword_l |
Location of the class keyword
| Loc lib_ruby_parser::SClass::operator_l |
Location of the << operator