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

Represents rational literal (e.g. 1r) More...

#include <nodes.hpp>

Public Attributes

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

Detailed Description

Represents rational literal (e.g. 1r)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Rational::expression_l

Location of the full expression

-1r
^^^

◆ operator_l

MaybeLoc lib_ruby_parser::Rational::operator_l

Location of the unary - (but not +)

-1r
^

◆ value

String lib_ruby_parser::Rational::value

String value of the literal, String("1r") for 1r


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