Engine-independent representation of a script program. More...
#include <ScriptProgram.h>
Public Member Functions | |
virtual QString | fileName () const =0 |
Returns the filename associated with this program. More... | |
virtual QString | sourceCode () const =0 |
Returns the source code of this program. More... | |
Engine-independent representation of a script program.
This is an analog of QScriptProgram from Qt5.
It's used to pre-compile scripts, and to check their syntax.
|
pure virtual |
Returns the filename associated with this program.
Implemented in ScriptProgramV8Wrapper.
|
pure virtual |