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

Represents an arguments splat (i.e. *bar in a call like foo(*bar)) More...

#include <nodes.hpp>

Public Attributes

Nodevalue
 Value that is converted to array. More...
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents an arguments splat (i.e. *bar in a call like foo(*bar))

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Splat::expression_l

Location of the full expression

foo(*bar)
^^^^

◆ operator_l

Loc lib_ruby_parser::Splat::operator_l

Location of the * operator

foo(*bar)
^

◆ value

Node* lib_ruby_parser::Splat::value

Value that is converted to array.


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