|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents conditional method call using &. operator.
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | recv |
Receiver of the method call, Int("1") for 1&.foo More... | |
| String | method_name |
Name of the method, String("foo") for 1&.foo More... | |
| NodeList | args |
| Loc | dot_l |
| MaybeLoc | selector_l |
| MaybeLoc | begin_l |
| MaybeLoc | end_l |
| MaybeLoc | operator_l |
| Loc | expression_l |
Represents conditional method call using &. operator.
| NodeList lib_ruby_parser::CSend::args |
List of arguments
| MaybeLoc lib_ruby_parser::CSend::begin_l |
Location of the open parenthesis
None if there are no parentheses
| Loc lib_ruby_parser::CSend::dot_l |
Location of the &. operator
| MaybeLoc lib_ruby_parser::CSend::end_l |
Location of the closing parenthesis
None if there are no parentheses
| Loc lib_ruby_parser::CSend::expression_l |
Location of the full expression
| MaybeLoc lib_ruby_parser::CSend::operator_l |
Location of the operator if CSend is a part of assignment like
None for a regular call.
| MaybeLoc lib_ruby_parser::CSend::selector_l |
Location of the method name
None in a very special case when method call is implicit (i.e. foo&.())