|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents class variable assignment (i.e. @@var = 42)
More...
#include <nodes.hpp>
Public Attributes | |
| String | name |
Name of the class variable, String("@@foo") for @@foo = 1 More... | |
| Node * | value |
Value that is assigned to class variable, Int("1") for @@foo = 1 More... | |
| Loc | name_l |
| MaybeLoc | operator_l |
| Loc | expression_l |
Represents class variable assignment (i.e. @@var = 42)
| Loc lib_ruby_parser::Cvasgn::expression_l |
Location of the full expression
| Loc lib_ruby_parser::Cvasgn::name_l |
Location of the class variable name
| MaybeLoc lib_ruby_parser::Cvasgn::operator_l |
Location of the = operator
| Node* lib_ruby_parser::Cvasgn::value |
Value that is assigned to class variable, Int("1") for @@foo = 1