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

Represents foo || bar (or foo or bar) statement. More...

#include <nodes.hpp>

Public Attributes

Nodelhs
 Left hand statement. More...
 
Noderhs
 Right hand statement. More...
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents foo || bar (or foo or bar) statement.

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Or::expression_l

Location of the full expression

foo || bar
^^^^^^^^^^

◆ lhs

Node* lib_ruby_parser::Or::lhs

Left hand statement.

◆ operator_l

Loc lib_ruby_parser::Or::operator_l

Location of the ||/or operator

foo || bar
^^

◆ rhs

Node* lib_ruby_parser::Or::rhs

Right hand statement.


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