KJS::Completion
KJS::Completion Class Reference
#include <completion.h>
Public Member Functions | |
Completion (ComplType c=Normal, JSValue *v=nullptr, Addr t=0) | |
ComplType | complType () const |
bool | isValueCompletion () const |
Addr | target () const |
JSValue * | value () const |
Detailed Description
Completion objects are used to convey the return status and value from functions.
See FunctionImp::execute()
- See also
- FunctionImp
Handle for a Completion type.
Definition at line 52 of file completion.h.
Member Function Documentation
◆ complType()
|
inline |
Returns the type of this completion.
Definition at line 61 of file completion.h.
◆ isValueCompletion()
|
inline |
Returns true if this is a value completion, false otherwise.
Definition at line 86 of file completion.h.
◆ target()
|
inline |
Returns the address a break or a continue statement targets.
Definition at line 78 of file completion.h.
◆ value()
|
inline |
Returns the value of this completion if it is of type value-completion, 0 otherwise.
Definition at line 70 of file completion.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 03:51:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 03:51:19 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.