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

Represents a &&= 1 statement. More...

#include <nodes.hpp>

Public Attributes

Noderecv
 
Nodevalue
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents a &&= 1 statement.

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::AndAsgn::expression_l

Location of the full expression

a &&= 1
^^^^^^^

◆ operator_l

Loc lib_ruby_parser::AndAsgn::operator_l

Location of the &&= operator

a &&= 1
^^^

◆ recv

Node* lib_ruby_parser::AndAsgn::recv

Receiver of the &&= operation.

Lvasgn("a") node for a &&= 1

◆ value

Node* lib_ruby_parser::AndAsgn::value

Right hand statement of assignment

Int("1") node for a &&= 1


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