Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtScript.QScriptSyntaxCheckResult Class Reference

The QScriptSyntaxCheckResult class provides the result of a script syntax check. More...

Inheritance diagram for QtScript.QScriptSyntaxCheckResult:
Collaboration diagram for QtScript.QScriptSyntaxCheckResult:

Public Types

enum  State { Error = 0, Intermediate = 1, Valid = 2 }
  More...
 

Public Member Functions

 QScriptSyntaxCheckResult (QScriptSyntaxCheckResult other)
 
 
virtual void CreateProxy ()
 
new int ErrorColumnNumber ()
 
 
new int ErrorLineNumber ()
 
 
new string ErrorMessage ()
 
 
new QScriptSyntaxCheckResult.State state ()
 
 
new void Dispose ()
 

Protected Member Functions

 QScriptSyntaxCheckResult (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QScriptSyntaxCheckResult class provides the result of a script syntax check.

QScriptSyntaxCheckResult is returned by QScriptEngine::checkSyntax() to provide information about the syntactical (in)correctness of a script.

Member Enumeration Documentation

This enum specifies the state of a syntax check.

Enumerator:
Error 

The program contains a syntax error.

Intermediate 

The program is incomplete.

Valid 

The program is a syntactically correct Qt Script program.

Constructor & Destructor Documentation

QtScript.QScriptSyntaxCheckResult.QScriptSyntaxCheckResult ( System.Type  dummy)
protected
QtScript.QScriptSyntaxCheckResult.QScriptSyntaxCheckResult ( QScriptSyntaxCheckResult  other)

Constructs a new QScriptSyntaxCheckResult from the other result.

Member Function Documentation

virtual void QtScript.QScriptSyntaxCheckResult.CreateProxy ( )
virtual
new void QtScript.QScriptSyntaxCheckResult.Dispose ( )
new int QtScript.QScriptSyntaxCheckResult.ErrorColumnNumber ( )

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

See also state() and errorLineNumber().

new int QtScript.QScriptSyntaxCheckResult.ErrorLineNumber ( )

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

See also state() and errorMessage().

new string QtScript.QScriptSyntaxCheckResult.ErrorMessage ( )

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

See also state() and errorLineNumber().

new QScriptSyntaxCheckResult.State QtScript.QScriptSyntaxCheckResult.state ( )

Returns the state of this QScriptSyntaxCheckResult.

Member Data Documentation

SmokeInvocation QtScript.QScriptSyntaxCheckResult.interceptor
protected

Property Documentation

virtual System.IntPtr QtScript.QScriptSyntaxCheckResult.SmokeObject
getset