![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <js-list-format.h>
Public Types | |
| enum class | Style { LONG , SHORT , NARROW } |
| enum class | Type { CONJUNCTION , DISJUNCTION , UNIT } |
Public Member Functions | |
| Handle< String > | StyleAsString (Isolate *isolate) const |
| Handle< String > | TypeAsString (Isolate *isolate) const |
| void | set_style (Style style) |
| Style | style () const |
| void | set_type (Type type) |
| Type | type () const |
Static Public Member Functions | |
| static MaybeDirectHandle< JSListFormat > | New (Isolate *isolate, DirectHandle< Map > map, DirectHandle< Object > locales, DirectHandle< Object > options) |
| static DirectHandle< JSObject > | ResolvedOptions (Isolate *isolate, DirectHandle< JSListFormat > format_holder) |
| static V8_WARN_UNUSED_RESULT MaybeDirectHandle< String > | FormatList (Isolate *isolate, DirectHandle< JSListFormat > format_holder, DirectHandle< FixedArray > list) |
| static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSArray > | FormatListToParts (Isolate *isolate, DirectHandle< JSListFormat > format_holder, DirectHandle< FixedArray > list) |
| static V8_EXPORT_PRIVATE const std::set< std::string > & | GetAvailableLocales () |
Definition at line 34 of file js-list-format.h.
|
strong |
| Enumerator | |
|---|---|
| LONG | |
| SHORT | |
| NARROW | |
Definition at line 68 of file js-list-format.h.
|
strong |
| Enumerator | |
|---|---|
| CONJUNCTION | |
| DISJUNCTION | |
| UNIT | |
Definition at line 79 of file js-list-format.h.
|
static |
Definition at line 276 of file js-list-format.cc.
|
static |
Definition at line 284 of file js-list-format.cc.
|
static |
|
static |
|
static |
Definition at line 148 of file js-list-format.cc.
|
inline |
|
inline |
Definition at line 42 of file js-list-format-inl.h.
|
inline |
|
inline |