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

Represents a break keyword (with optional argument) More...

#include <nodes.hpp>

Public Attributes

NodeList args
 A list of arguments. More...
 
Loc keyword_l
 
Loc expression_l
 

Detailed Description

Represents a break keyword (with optional argument)

Member Data Documentation

◆ args

NodeList lib_ruby_parser::Break::args

A list of arguments.

◆ expression_l

Loc lib_ruby_parser::Break::expression_l

Location of the full expression

break(:foo)
^^^^^^^^^^^

◆ keyword_l

Loc lib_ruby_parser::Break::keyword_l

Location of the break keyword

break :foo
^^^^^

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