Overte C++ Documentation
ScriptProgram Class Referenceabstract

Engine-independent representation of a script program. More...

#include <ScriptProgram.h>

Inheritance diagram for ScriptProgram:

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...
 

Detailed Description

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.

Member Function Documentation

◆ fileName()

virtual QString ScriptProgram::fileName ( ) const
pure virtual

Returns the filename associated with this program.

Returns
QString

Implemented in ScriptProgramV8Wrapper.

◆ sourceCode()

virtual QString ScriptProgram::sourceCode ( ) const
pure virtual

Returns the source code of this program.

Returns
QString

Implemented in ScriptProgramV8Wrapper.


The documentation for this class was generated from the following file: