|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a defined?(foo) expression.
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | value |
Value given to defined? More... | |
| Loc | keyword_l |
| MaybeLoc | begin_l |
| MaybeLoc | end_l |
| Loc | expression_l |
Represents a defined?(foo) expression.
| MaybeLoc lib_ruby_parser::Defined::begin_l |
Location of the open parenthesis
None if there are no parentheses
| MaybeLoc lib_ruby_parser::Defined::end_l |
Location of the closing parenthesis
None if there are no parentheses
| Loc lib_ruby_parser::Defined::expression_l |
Location of the full expression
| Loc lib_ruby_parser::Defined::keyword_l |
Location of the defined? keyword
| Node* lib_ruby_parser::Defined::value |
Value given to defined?