Overte C++ Documentation
ScriptSyntaxCheckResult Class Referenceabstract

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

Detailed Description

Engine-independent representation of a script syntax check.

This is an analog of QScriptSyntaxCheckResult from Qt5.

Member Enumeration Documentation

◆ State

State of the syntax check.

Enumerator
Intermediate 

The program contains a syntax error.

Valid 

The program is incomplete.

Member Function Documentation

◆ errorBacktrace()

virtual QString ScriptSyntaxCheckResult::errorBacktrace ( ) const
pure virtual
Returns
QString

◆ errorColumnNumber()

virtual int ScriptSyntaxCheckResult::errorColumnNumber ( ) const
pure virtual

Returns the error column number of this ScriptSyntaxCheckResult, or -1 if there is no error.

Returns
int

◆ errorLineNumber()

virtual int ScriptSyntaxCheckResult::errorLineNumber ( ) const
pure virtual

Returns the error line number of this ScriptSyntaxCheckResult, or -1 if there is no error.

Returns
int

◆ errorMessage()

virtual QString ScriptSyntaxCheckResult::errorMessage ( ) const
pure virtual

Returns the error message of this ScriptSyntaxCheckResult, or an empty string if there is no error.

Returns
QString

◆ state()

virtual State ScriptSyntaxCheckResult::state ( ) const
pure virtual

Returns the state of this ScriptSyntaxCheckResult.

Returns
State

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