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

Represents a float literal (i.e. 42.5) More...

#include <nodes.hpp>

Public Attributes

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

Detailed Description

Represents a float literal (i.e. 42.5)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Float::expression_l

Location of the full expression

-42.5
^^^^^

◆ operator_l

MaybeLoc lib_ruby_parser::Float::operator_l

Location of unary - (but not +)

-42.5
^

◆ value

String lib_ruby_parser::Float::value

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


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