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

Represents a special block argument that "shadows" outer variable (i.e. |;foo|) More...

#include <nodes.hpp>

Public Attributes

String name
 Name of the argument. More...
 
Loc expression_l
 

Detailed Description

Represents a special block argument that "shadows" outer variable (i.e. |;foo|)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Shadowarg::expression_l

Location of the argument

proc { |;foo|}
^^^

◆ name

String lib_ruby_parser::Shadowarg::name

Name of the argument.


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