|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents a method call (e.g. foo.bar(42))
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | recv |
| String | method_name |
| Name of the method that is called. More... | |
| NodeList | args |
| A list of arguments. More... | |
| MaybeLoc | dot_l |
| MaybeLoc | selector_l |
| MaybeLoc | begin_l |
| MaybeLoc | end_l |
| MaybeLoc | operator_l |
| Loc | expression_l |
Represents a method call (e.g. foo.bar(42))
| NodeList lib_ruby_parser::Send::args |
A list of arguments.
| MaybeLoc lib_ruby_parser::Send::begin_l |
Location of open parenthesis
None if there are no parentheses
| MaybeLoc lib_ruby_parser::Send::dot_l |
Location of the . operator
None for implicit method call (e.g. foo(42))
| MaybeLoc lib_ruby_parser::Send::end_l |
Location of closing parenthesis
None if there are no parentheses
| Loc lib_ruby_parser::Send::expression_l |
Location of the full expression
| String lib_ruby_parser::Send::method_name |
Name of the method that is called.
| MaybeLoc lib_ruby_parser::Send::operator_l |
Location of the operator if method is a setter
None otherwise
| Node* lib_ruby_parser::Send::recv |
Receiver of the method call
None for implicit method call (e.g. foo(42))
| MaybeLoc lib_ruby_parser::Send::selector_l |
Location of the method name
None in a very special case when method call is implicit (i.e. foo.(42))