lib-ruby-parser (C++ bindings)  4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
lib_ruby_parser::Return Class Reference

Represents return keyword. More...

#include <nodes.hpp>

Public Attributes

NodeList args
 A list of values that is returned. More...
 
Loc keyword_l
 
Loc expression_l
 

Detailed Description

Represents return keyword.

Member Data Documentation

◆ args

NodeList lib_ruby_parser::Return::args

A list of values that is returned.

◆ expression_l

Loc lib_ruby_parser::Return::expression_l

Location of the full expression

return 1, 2
^^^^^^^^^^^

◆ keyword_l

Loc lib_ruby_parser::Return::keyword_l

Location of the return keyword

return 1, 2
^^^^^^

The documentation for this class was generated from the following file: