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

Represents an integer literal (i.e. 42) More...

#include <nodes.hpp>

Public Attributes

String value
 String value of the literal, String("42") for 42 More...
 
MaybeLoc operator_l
 
Loc expression_l
 

Detailed Description

Represents an integer literal (i.e. 42)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Int::expression_l

Location of the full expression

-42
^^^

◆ operator_l

MaybeLoc lib_ruby_parser::Int::operator_l

Location of unary - (but not +)

-42
^

◆ value

String lib_ruby_parser::Int::value

String value of the literal, String("42") for 42


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