KJS
kjsobject.cpp
KJSArray(KJSContext *ctx, int len=0)
Constructs an array object with the specified length.
Definition: kjsobject.cpp:105
bool isObject() const
Returns whether this object is a full blown object.
Definition: kjsobject.cpp:154
bool toBoolean(KJSContext *ctx)
Returns this value converted to a boolean.
Definition: kjsobject.cpp:159
void setProperty(KJSContext *ctx, const QString &name, const KJSObject &value)
Sets the specified property on this object.
Definition: kjsobject.cpp:206
int toInt32(KJSContext *ctx)
Returns this value converted to a 32-bit integer number.
Definition: kjsobject.cpp:173
double toNumber(KJSContext *ctx)
Returns this value converted to a number.
Definition: kjsobject.cpp:166
KJSObject & operator=(const KJSObject &o)
Assigns another JS object references to this one.
Definition: kjsobject.cpp:48
QString toString(KJSContext *ctx)
Returns this value converted to a string.
Definition: kjsobject.cpp:180
JSValue is the base type for all primitives (Undefined, Null, Boolean, String, Number) and objects in...
Definition: value.h:58
KJSDate(KJSContext *ctx, const QDateTime &dt)
Constructs a date object from the specified date and time.
Definition: kjsobject.cpp:123
KJSObject property(KJSContext *ctx, const QString &name)
Reads the specified property from this object.
Definition: kjsobject.cpp:187
Interpreter * lexicalInterpreter() const
Returns the interpreter associated with the current scope's global object.
Definition: ExecState.cpp:35
~KJSObject()
Destructs this object freeing any references it might have held.
Definition: kjsobject.cpp:58
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Mar 2 2021 23:58:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Mar 2 2021 23:58:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.