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

#include <nodes.hpp>

Public Attributes

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

Detailed Description

Represents a positional required block/method argument.

a in def m(a); end or proc { |a| }

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Arg::expression_l

Location of the full expression

def m(argument); end
^^^^^^^^

◆ name

String lib_ruby_parser::Arg::name

Name of the argument.


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