KateJScript Class Reference
#include <katejscript.h>
Detailed Description
Whole Kate Part scripting in one classs Allow subclassing to allow specialized scripting engine for indenters.
Definition at line 52 of file katejscript.h.
Public Member Functions | |
KateJScript () | |
virtual | ~KateJScript () |
KJS::ObjectImp * | wrapDocument (KJS::ExecState *exec, KateDocument *doc) |
KJS::ObjectImp * | wrapView (KJS::ExecState *exec, KateView *view) |
bool | execute (KateView *view, const QString &script, QString &errorMsg) |
Protected Attributes | |
KJS::Object * | m_global |
KJS::Interpreter * | m_interpreter |
KJS::Object * | m_document |
KJS::Object * | m_view |
Constructor & Destructor Documentation
|
generate new global interpreter for part scripting
Definition at line 238 of file katejscript.cpp. |
|
be destructive
Definition at line 252 of file katejscript.cpp. |
Member Function Documentation
|
execute given script the script will get the doc and view exposed via document and view object in global scope
Definition at line 270 of file katejscript.cpp. |
|
creates a JS wrapper object for given KateDocument
Definition at line 260 of file katejscript.cpp. |
|
creates a JS wrapper object for given KateView
Definition at line 265 of file katejscript.cpp. |
Member Data Documentation
|
object for document
Definition at line 106 of file katejscript.h. |
|
global object of interpreter
Definition at line 96 of file katejscript.h. |
|
js interpreter
Definition at line 101 of file katejscript.h. |
|
object for view
Definition at line 111 of file katejscript.h. |
The documentation for this class was generated from the following files: