webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <Identifier.h>
Public Types | |
enum | EmptyIdentifierFlag { EmptyIdentifier, EmptyIdentifier } |
enum | EmptyIdentifierFlag { EmptyIdentifier, EmptyIdentifier } |
Public Member Functions | |
Identifier () | |
Identifier (EmptyIdentifierFlag) | |
const String & | string () const |
UniquedStringImpl * | impl () const |
int | length () const |
CString | ascii () const |
CString | utf8 () const |
bool | isNull () const |
bool | isEmpty () const |
bool | isSymbol () const |
void | dump (PrintStream &) const |
Identifier () | |
Identifier (EmptyIdentifierFlag) | |
const String & | string () const |
UniquedStringImpl * | impl () const |
int | length () const |
CString | ascii () const |
CString | utf8 () const |
bool | isNull () const |
bool | isEmpty () const |
bool | isSymbol () const |
void | dump (PrintStream &) const |
template<> | |
ALWAYS_INLINE bool | canUseSingleCharacterString (LChar) |
template<> | |
ALWAYS_INLINE bool | canUseSingleCharacterString (UChar c) |
Static Public Member Functions | |
template<unsigned charactersCount> | |
static Identifier | fromString (VM *, const char(&characters)[charactersCount]) |
template<unsigned charactersCount> | |
static Identifier | fromString (ExecState *, const char(&characters)[charactersCount]) |
static Identifier | fromString (VM *, const LChar *, int length) |
static Identifier | fromString (VM *, const UChar *, int length) |
static Identifier | fromString (VM *, const String &) |
static Identifier | fromString (ExecState *, AtomicStringImpl *) |
static Identifier | fromString (ExecState *, const AtomicString &) |
static Identifier | fromString (ExecState *, const String &) |
static Identifier | fromString (ExecState *, const char *) |
static Identifier | fromUid (VM *, UniquedStringImpl *uid) |
static Identifier | fromUid (ExecState *, UniquedStringImpl *uid) |
static Identifier | fromUid (const PrivateName &) |
static Identifier | createLCharFromUChar (VM *vm, const UChar *s, int length) |
static JS_EXPORT_PRIVATE Identifier | from (ExecState *, unsigned y) |
static JS_EXPORT_PRIVATE Identifier | from (ExecState *, int y) |
static Identifier | from (ExecState *, double y) |
static Identifier | from (VM *, unsigned y) |
static Identifier | from (VM *, int y) |
static Identifier | from (VM *, double y) |
static bool | equal (const StringImpl *, const LChar *) |
static bool | equal (const StringImpl *a, const char *b) |
static bool | equal (const StringImpl *, const LChar *, unsigned length) |
static bool | equal (const StringImpl *, const UChar *, unsigned length) |
static bool | equal (const StringImpl *a, const StringImpl *b) |
static JS_EXPORT_PRIVATE Ref< StringImpl > | add (VM *, const char *) |
static JS_EXPORT_PRIVATE Ref< StringImpl > | add (ExecState *, const char *) |
template<unsigned charactersCount> | |
static Identifier | fromString (VM *, const char(&characters)[charactersCount]) |
template<unsigned charactersCount> | |
static Identifier | fromString (ExecState *, const char(&characters)[charactersCount]) |
static Identifier | fromString (VM *, const LChar *, int length) |
static Identifier | fromString (VM *, const UChar *, int length) |
static Identifier | fromString (VM *, const String &) |
static Identifier | fromString (ExecState *, AtomicStringImpl *) |
static Identifier | fromString (ExecState *, const AtomicString &) |
static Identifier | fromString (ExecState *, const String &) |
static Identifier | fromString (ExecState *, const char *) |
static Identifier | fromUid (VM *, UniquedStringImpl *uid) |
static Identifier | fromUid (ExecState *, UniquedStringImpl *uid) |
static Identifier | fromUid (const PrivateName &) |
static Identifier | createLCharFromUChar (VM *vm, const UChar *s, int length) |
static JS_EXPORT_PRIVATE Identifier | from (ExecState *, unsigned y) |
static JS_EXPORT_PRIVATE Identifier | from (ExecState *, int y) |
static Identifier | from (ExecState *, double y) |
static Identifier | from (VM *, unsigned y) |
static Identifier | from (VM *, int y) |
static Identifier | from (VM *, double y) |
static bool | equal (const StringImpl *, const LChar *) |
static bool | equal (const StringImpl *a, const char *b) |
static bool | equal (const StringImpl *, const LChar *, unsigned length) |
static bool | equal (const StringImpl *, const UChar *, unsigned length) |
static bool | equal (const StringImpl *a, const StringImpl *b) |
static JS_EXPORT_PRIVATE Ref< StringImpl > | add (VM *, const char *) |
static JS_EXPORT_PRIVATE Ref< StringImpl > | add (ExecState *, const char *) |
Friends | |
class | Structure |
bool | operator== (const Identifier &, const Identifier &) |
bool | operator!= (const Identifier &, const Identifier &) |
bool | operator== (const Identifier &, const LChar *) |
bool | operator== (const Identifier &, const char *) |
bool | operator!= (const Identifier &, const LChar *) |
bool | operator!= (const Identifier &, const char *) |
bool | operator== (const Identifier &, const Identifier &) |
bool | operator!= (const Identifier &, const Identifier &) |
bool | operator== (const Identifier &, const LChar *) |
bool | operator== (const Identifier &, const char *) |
bool | operator!= (const Identifier &, const LChar *) |
bool | operator!= (const Identifier &, const char *) |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inline |
ALWAYS_INLINE bool JSC::Identifier::canUseSingleCharacterString | ( | LChar | ) |
ALWAYS_INLINE bool JSC::Identifier::canUseSingleCharacterString | ( | UChar | c | ) |
|
inlinestatic |
|
inlinestatic |
void JSC::Identifier::dump | ( | PrintStream & | out | ) | const |
void JSC::Identifier::dump | ( | PrintStream & | ) | const |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |