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

Represents inclusive flip-flop (i.e. in if foo..bar; end) More...

#include <nodes.hpp>

Public Attributes

Nodeleft
 Left part of the flip-flop. None if based on a range without begin (..bar) More...
 
Noderight
 Right part of the flip-flop. None if based on a range without end (foo..) More...
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents inclusive flip-flop (i.e. in if foo..bar; end)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::IFlipFlop::expression_l

Location of the full expression

if foo..bar; end
^^^^^^^^

◆ left

Node* lib_ruby_parser::IFlipFlop::left

Left part of the flip-flop. None if based on a range without begin (..bar)

◆ operator_l

Loc lib_ruby_parser::IFlipFlop::operator_l

Location of the .. operator

if foo..bar; end
^^

◆ right

Node* lib_ruby_parser::IFlipFlop::right

Right part of the flip-flop. None if based on a range without end (foo..)


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