ScriptParsingException
Overview
The Script parsing exception is raised when the tokenizer or parser cannot parse a script because of it's syntax. Usually this means there's a bad character or if a token that is required is missing.
Location
- Reference: RemObjects.Script.dll
- Namespace: RemObjects.Script.EcmaScript
- Ancestry: ScriptException | ScriptParsingException
Properties
Error
property Error: EcmaScriptErrorKind read;
EcmaScriptErrorKind Error { get; }
ReadOnly Property Error() As EcmaScriptErrorKind
Msg
property Msg: String read;
String Msg { get; }
ReadOnly Property Msg() As String
Position
property Position: PositionPair read;
PositionPair Position { get; }
ReadOnly Property Position() As PositionPair
Class Methods
ErrorToString
class method ErrorToString(anError: EcmaScriptErrorKind; aMsg: String): String
static String ErrorToString(EcmaScriptErrorKind anError, String aMsg)
Shared Function ErrorToString(anError As EcmaScriptErrorKind, aMsg As String) As String
Parameters:
- anError:
- aMsg:
Instance Methods
constructor
constructor(aFilename: String; aPosition: PositionPair; anError: EcmaScriptErrorKind; aMsg: String)
ScriptParsingException(String aFilename, PositionPair aPosition, EcmaScriptErrorKind anError, String aMsg)
Sub New(aFilename As String, aPosition As PositionPair, anError As EcmaScriptErrorKind, aMsg As String)
Parameters:
- aFilename:
- aPosition:
- anError:
- aMsg: