![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Types | |
| enum class | Behavior { kStringToBigInt , kLiteral } |
Public Member Functions | |
| StringToBigIntHelper (IsolateT *isolate, DirectHandle< String > string) | |
| StringToBigIntHelper (IsolateT *isolate, const uint8_t *string, size_t length) | |
| void | ParseOneByte (const uint8_t *start) final |
| void | ParseTwoByte (const base::uc16 *start) final |
| MaybeHandle< BigInt > | GetResult () |
| std::unique_ptr< char[]> | DecimalString (bigint::Processor *processor) |
| IsolateT * | isolate () |
Public Member Functions inherited from v8::internal::StringToIntHelper | |
| StringToIntHelper (DirectHandle< String > subject, int radix) | |
| StringToIntHelper (const uint8_t *subject, int radix, size_t length) | |
| StringToIntHelper (const base::uc16 *subject, int radix, size_t length) | |
| StringToIntHelper (DirectHandle< String > subject) | |
| StringToIntHelper (const uint8_t *subject, size_t length) | |
| virtual | ~StringToIntHelper ()=default |
Private Member Functions | |
| template<class Char > | |
| void | ParseInternal (const Char *start) |
| AllocationType | allocation_type () |
Private Attributes | |
| IsolateT * | isolate_ |
| bigint::FromStringAccumulator | accumulator_ {BigInt::kMaxLength} |
| Behavior | behavior_ |
Additional Inherited Members | |
Protected Member Functions inherited from v8::internal::StringToIntHelper | |
| void | ParseInt () |
| void | set_allow_binary_and_octal_prefixes () |
| void | set_disallow_trailing_junk () |
| bool | allow_trailing_junk () |
| bool | IsOneByte () const |
| base::Vector< const uint8_t > | GetOneByteVector (const DisallowGarbageCollection &no_gc) |
| base::Vector< const base::uc16 > | GetTwoByteVector (const DisallowGarbageCollection &no_gc) |
| int | radix () |
| size_t | cursor () |
| size_t | length () |
| bool | negative () |
| Sign | sign () |
| State | state () |
| void | set_state (State state) |
Definition at line 810 of file conversions.cc.
|
strong |
| Enumerator | |
|---|---|
| kStringToBigInt | |
| kLiteral | |
Definition at line 812 of file conversions.cc.
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Definition at line 868 of file conversions.cc.
|
inline |
Definition at line 837 of file conversions.cc.
|
inline |
|
inlineprivate |
Definition at line 890 of file conversions.cc.
|
inlinefinalvirtual |
Implements v8::internal::StringToIntHelper.
Definition at line 832 of file conversions.cc.
|
inlinefinalvirtual |
Implements v8::internal::StringToIntHelper.
Definition at line 833 of file conversions.cc.
|
private |
Definition at line 914 of file conversions.cc.
|
private |
Definition at line 915 of file conversions.cc.
|
private |
Definition at line 913 of file conversions.cc.