Engine-independent representation of a script syntax check. More...
#include <ScriptProgram.h>
Inherited by ScriptSyntaxCheckResultV8Wrapper.
Public Types | |
enum | State { } |
State of the syntax check. More... | |
Public Member Functions | |
virtual int | errorColumnNumber () const =0 |
Returns the error column number of this ScriptSyntaxCheckResult, or -1 if there is no error. More... | |
virtual int | errorLineNumber () const =0 |
Returns the error line number of this ScriptSyntaxCheckResult, or -1 if there is no error. More... | |
virtual QString | errorMessage () const =0 |
Returns the error message of this ScriptSyntaxCheckResult, or an empty string if there is no error. More... | |
virtual QString | errorBacktrace () const =0 |
virtual State | state () const =0 |
Returns the state of this ScriptSyntaxCheckResult. More... | |
Engine-independent representation of a script syntax check.
This is an analog of QScriptSyntaxCheckResult from Qt5.
|
pure virtual |
|
pure virtual |
Returns the error column number of this ScriptSyntaxCheckResult, or -1 if there is no error.
|
pure virtual |
Returns the error line number of this ScriptSyntaxCheckResult, or -1 if there is no error.
|
pure virtual |
Returns the error message of this ScriptSyntaxCheckResult, or an empty string if there is no error.
|
pure virtual |
Returns the state of this ScriptSyntaxCheckResult.