KJSResult

KJSResult Class Reference

#include <kjsinterpreter.h>

Public Member Functions

 KJSResult ()
 
 KJSResult (const KJSResult &)
 
 ~KJSResult ()
 
QString errorMessage () const
 
bool isException () const
 
KJSResultoperator= (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 54 of file kjsinterpreter.cpp.

KJSResult::KJSResult ( const KJSResult r)

Constructs a copy of another result object.

Definition at line 59 of file kjsinterpreter.cpp.

KJSResult::~KJSResult ( )

Frees resources held by this result object.

Definition at line 76 of file kjsinterpreter.cpp.

Member Function Documentation

QString KJSResult::errorMessage ( ) const

Returns the error message if this is an exception result.

Definition at line 86 of file kjsinterpreter.cpp.

bool KJSResult::isException ( ) const

Returns true if the script evaluation has caused an exception.

Definition at line 81 of file kjsinterpreter.cpp.

KJSResult & KJSResult::operator= ( const KJSResult r)

Assigns the properties of another result object to this one.

Definition at line 65 of file kjsinterpreter.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 14 2020 22:59:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.