lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a hash literal (i.e. { foo: 42 }
)
More...
#include <nodes.hpp>
Public Attributes | |
NodeList | pairs |
A list of key-value pairs. More... | |
MaybeLoc | begin_l |
MaybeLoc | end_l |
Loc | expression_l |
Represents a hash literal (i.e. { foo: 42 }
)
MaybeLoc lib_ruby_parser::Hash::begin_l |
Location of the open parenthesis
None
if hash literal is implicit, e.g. foo(key: "value")
MaybeLoc lib_ruby_parser::Hash::end_l |
Location of the closing parenthesis
None
if hash literal is implicit, e.g. foo(key: "value")
Loc lib_ruby_parser::Hash::expression_l |
Location of the full expression
NodeList lib_ruby_parser::Hash::pairs |
A list of key-value pairs.