lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a key/value pair (e.g. a part of the Hash
node)
More...
#include <nodes.hpp>
Public Attributes | |
Node * | key |
Key of the pair. More... | |
Node * | value |
Value of the pair. More... | |
Loc | operator_l |
Loc | expression_l |
Represents a key/value pair (e.g. a part of the Hash
node)
Loc lib_ruby_parser::Pair::expression_l |
Location of the full expression
Node* lib_ruby_parser::Pair::key |
Key of the pair.
Loc lib_ruby_parser::Pair::operator_l |
Location of the :
or =>
operator
Node* lib_ruby_parser::Pair::value |
Value of the pair.