KJS-API
KJSResult Class Reference
#include <kjsinterpreter.h>
Detailed Description
A class representing the result of a script evaluation.Definition at line 37 of file kjsinterpreter.h.
Public Member Functions | |
QString | errorMessage () const |
bool | isException () const |
KJSResult (const KJSResult &) | |
KJSResult () | |
KJSResult & | operator= (const KJSResult &) |
KJSObject | value () const |
~KJSResult () |
Constructor & Destructor Documentation
KJSResult::KJSResult | ( | ) |
KJSResult::KJSResult | ( | const KJSResult & | r | ) |
KJSResult::~KJSResult | ( | ) |
Member Function Documentation
QString KJSResult::errorMessage | ( | ) | const |
Returns the error message if this is an exception result.
Definition at line 77 of file kjsinterpreter.cpp.
bool KJSResult::isException | ( | ) | const |
Returns true if the script evaluation has caused an exception.
Definition at line 72 of file kjsinterpreter.cpp.
Assigns the properties of another result object to this one.
Definition at line 56 of file kjsinterpreter.cpp.
KJSObject KJSResult::value | ( | ) | const |
Definition at line 82 of file kjsinterpreter.cpp.
The documentation for this class was generated from the following files: