#include <identifier.h>
Represents an Identifier for a Javascript object.
Definition at line 32 of file identifier.h.
◆ Identifier() [1/4]
KJS::Identifier::Identifier |
( |
| ) |
|
|
inline |
Creates an empty identifier.
Definition at line 38 of file identifier.h.
◆ Identifier() [2/4]
KJS::Identifier::Identifier |
( |
const char * |
s | ) |
|
|
inline |
Creates an identifier with the name of the string.
Represents an Identifier for a Javascript object.
Definition at line 45 of file identifier.h.
◆ Identifier() [3/4]
KJS::Identifier::Identifier |
( |
const UChar * |
s, |
|
|
int |
length |
|
) |
| |
|
inline |
◆ Identifier() [4/4]
KJS::Identifier::Identifier |
( |
const UString & |
s | ) |
|
|
inlineexplicit |
◆ ascii()
const char * KJS::Identifier::ascii |
( |
| ) |
const |
|
inline |
Char * of the identifier's string.
Definition at line 71 of file identifier.h.
◆ data()
const UChar * KJS::Identifier::data |
( |
| ) |
const |
|
inline |
returns a UChar pointer to the string of the identifier with a size defined by size().
Definition at line 62 of file identifier.h.
◆ from()
static Identifier KJS::Identifier::from |
( |
unsigned |
y | ) |
|
|
inlinestatic |
◆ isEmpty()
bool KJS::Identifier::isEmpty |
( |
| ) |
const |
|
inline |
Returns that the identifiers string is set, but is empty.
Definition at line 82 of file identifier.h.
◆ isNull()
bool KJS::Identifier::isNull |
( |
| ) |
const |
|
inline |
Returns the identfiers state of being unset.
Definition at line 78 of file identifier.h.
◆ null()
◆ qstring()
TQString KJS::Identifier::qstring |
( |
| ) |
const |
returns a TQString of the identifier
◆ remove()
void KJS::Identifier::remove |
( |
UString::Rep * |
r | ) |
|
|
static |
◆ size()
int KJS::Identifier::size |
( |
| ) |
const |
|
inline |
◆ toArrayIndex()
unsigned KJS::Identifier::toArrayIndex |
( |
bool * |
ok | ) |
const |
|
inline |
◆ toDouble()
double KJS::Identifier::toDouble |
( |
| ) |
const |
|
inline |
◆ toStrictUInt32()
unsigned KJS::Identifier::toStrictUInt32 |
( |
bool * |
ok | ) |
const |
|
inline |
◆ toULong()
unsigned long KJS::Identifier::toULong |
( |
bool * |
ok | ) |
const |
|
inline |
◆ ustring()
const UString & KJS::Identifier::ustring |
( |
| ) |
const |
|
inline |
◆ operator!=
◆ operator== [1/2]
bool operator== |
( |
const Identifier & |
a, |
|
|
const char * |
b |
|
) |
| |
|
friend |
◆ operator== [2/2]
◆ PropertyMap
The documentation for this class was generated from the following files: