CheckScriptSyntax Method
Overloads
CheckScriptSyntax() |
Checks the syntax of a script. Example"result": { "qErrors": [ { "qErrLen": 3, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 0, "qTextPos": 0 }, { "qErrLen": 5, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 1, "qTextPos": 4, "qSecondaryFailure": true } ] } The list of syntax errors in the script. If there are no errors, the engine returns: If there are errors, the engine returns the following properties in the response: Please refer to Engine API reference for table definition. |
CheckScriptSyntax()
Checks the syntax of a script.
Example
"result": { "qErrors": [ { "qErrLen": 3, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 0, "qTextPos": 0 }, { "qErrLen": 5, "qTabIx": 0, "qLineInTab": 0, "qColInLine": 1, "qTextPos": 4, "qSecondaryFailure": true } ] }
The list of syntax errors in the script.
If there are no errors, the engine returns:
If there are errors, the engine returns the following properties in the response:
Please refer to Engine API reference for table definition.
Declaration
public IEnumerable<ScriptSyntaxError> CheckScriptSyntax()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ScriptSyntaxError> |
Implements
Remarks
The first area is the primary error area, the second area is the secondary error area. The second area is optional and is shown only if qSecondaryFailure is set to true. The second area ends when the next statement in the script begins.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!