KJS-API
#include <kjsinterpreter.h>
Public Member Functions | |
KJSResult () | |
KJSResult (const KJSResult &) | |
~KJSResult () | |
QString | errorMessage () const |
bool | isException () const |
KJSResult & | operator= (const KJSResult &) |
KJSObject | value () const |
Detailed Description
A class representing the result of a script evaluation.
Definition at line 37 of file kjsinterpreter.h.
Constructor & Destructor Documentation
KJSResult::KJSResult | ( | ) |
Constructs a default result object.
Definition at line 46 of file kjsinterpreter.cpp.
KJSResult::KJSResult | ( | const KJSResult & | r | ) |
Constructs a copy of another result object.
Definition at line 51 of file kjsinterpreter.cpp.
KJSResult::~KJSResult | ( | ) |
Frees resources held by this result object.
Definition at line 68 of file kjsinterpreter.cpp.
Member Function Documentation
QString KJSResult::errorMessage | ( | ) | const |
Returns the error message if this is an exception result.
Definition at line 78 of file kjsinterpreter.cpp.
bool KJSResult::isException | ( | ) | const |
Returns true if the script evaluation has caused an exception.
Definition at line 73 of file kjsinterpreter.cpp.
Assigns the properties of another result object to this one.
Definition at line 57 of file kjsinterpreter.cpp.
KJSObject KJSResult::value | ( | ) | const |
Definition at line 83 of file kjsinterpreter.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.