v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::IntlMathematicalValue Class Reference

#include <js-number-format.h>

Collaboration diagram for v8::internal::IntlMathematicalValue:

Public Member Functions

 IntlMathematicalValue ()
 
V8_EXPORT_PRIVATE bool IsNaN () const
 

Static Public Member Functions

static V8_EXPORT_PRIVATE Maybe< IntlMathematicalValueFrom (Isolate *isolate, Handle< Object > value)
 
static Maybe< icu::number::FormattedNumber > FormatNumeric (Isolate *isolate, const icu::number::LocalizedNumberFormatter &number_format, const IntlMathematicalValue &x)
 
static Maybe< icu::number::FormattedNumberRange > FormatRange (Isolate *isolate, const icu::number::LocalizedNumberRangeFormatter &number_range_format, const IntlMathematicalValue &x, const IntlMathematicalValue &y)
 

Private Member Functions

Maybe< icu::Formattable > ToFormattable (Isolate *isolate) const
 
MaybeHandle< StringToString (Isolate *isolate) const
 

Private Attributes

double approx_
 
Handle< Objectvalue_
 

Detailed Description

Definition at line 128 of file js-number-format.h.

Constructor & Destructor Documentation

◆ IntlMathematicalValue()

v8::internal::IntlMathematicalValue::IntlMathematicalValue ( )
inline

Definition at line 130 of file js-number-format.h.

Member Function Documentation

◆ FormatNumeric()

Maybe< icu::number::FormattedNumber > v8::internal::IntlMathematicalValue::FormatNumeric ( Isolate * isolate,
const icu::number::LocalizedNumberFormatter & number_format,
const IntlMathematicalValue & x )
static

Definition at line 1581 of file js-number-format.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FormatRange()

Maybe< icu::number::FormattedNumberRange > v8::internal::IntlMathematicalValue::FormatRange ( Isolate * isolate,
const icu::number::LocalizedNumberRangeFormatter & number_range_format,
const IntlMathematicalValue & x,
const IntlMathematicalValue & y )
static

Definition at line 1603 of file js-number-format.cc.

Here is the call graph for this function:

◆ From()

Maybe< IntlMathematicalValue > v8::internal::IntlMathematicalValue::From ( Isolate * isolate,
Handle< Object > value )
static

Definition at line 1680 of file js-number-format.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsNaN()

bool v8::internal::IntlMathematicalValue::IsNaN ( ) const

Definition at line 1504 of file js-number-format.cc.

Here is the call graph for this function:

◆ ToFormattable()

Maybe< icu::Formattable > v8::internal::IntlMathematicalValue::ToFormattable ( Isolate * isolate) const
private

Definition at line 1773 of file js-number-format.cc.

Here is the call graph for this function:

◆ ToString()

MaybeHandle< String > v8::internal::IntlMathematicalValue::ToString ( Isolate * isolate) const
private

Definition at line 1506 of file js-number-format.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ approx_

double v8::internal::IntlMathematicalValue::approx_
private

Definition at line 147 of file js-number-format.h.

◆ value_

Handle<Object> v8::internal::IntlMathematicalValue::value_
private

Definition at line 148 of file js-number-format.h.


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