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

Represents module declaration using module keyword. More...

#include <nodes.hpp>

Public Attributes

Nodename
 Name of the module. More...
 
Nodebody
 
Loc keyword_l
 
Loc end_l
 
Loc expression_l
 

Detailed Description

Represents module declaration using module keyword.

Member Data Documentation

◆ body

Node* lib_ruby_parser::Module::body

Body of the module

None if module has no body

◆ end_l

Loc lib_ruby_parser::Module::end_l

Location of the end keyword

module M; end
^^^

◆ expression_l

Loc lib_ruby_parser::Module::expression_l

Location of the full expression

module M; end
^^^^^^^^^^^^^

◆ keyword_l

Loc lib_ruby_parser::Module::keyword_l

Location of the module keyword

module M; end
^^^^^^

◆ name

Node* lib_ruby_parser::Module::name

Name of the module.


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