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

Represents a super keyword. More...

#include <nodes.hpp>

Public Attributes

NodeList args
 A list of arguments given to super More...
 
Loc keyword_l
 
MaybeLoc begin_l
 
MaybeLoc end_l
 
Loc expression_l
 

Detailed Description

Represents a super keyword.

Member Data Documentation

◆ args

NodeList lib_ruby_parser::Super::args

A list of arguments given to super

◆ begin_l

MaybeLoc lib_ruby_parser::Super::begin_l

Location of the open parenthesis

super(1, 2)
^

None if there are no parentheses

◆ end_l

MaybeLoc lib_ruby_parser::Super::end_l

Location of the closing parenthesis

super(1, 2)
^

None if there are no parentheses

◆ expression_l

Loc lib_ruby_parser::Super::expression_l

Location of the full expression

super(1, 2)
^^^^^^^^^^^

◆ keyword_l

Loc lib_ruby_parser::Super::keyword_l

Location of the super keyword

super(1, 2)
^^^^^

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