ParserMessage
Overview
Holds errors the parser encountered while parsing the source code. When parsing an EcmaScript source file, the parser uses a list of these classes to store the errors it found while parsing the file.
Location
- Reference: RemObjects.Script.dll
- Namespace: RemObjects.Script
constructor
constructor(aPosition: Position)
ParserMessage(Position aPosition)
init(_ aPosition: Position)
Sub New(aPosition As Position)
Parameters:
- aPosition:
Code
The error code, these are unique numbers assigned to a given error message kind. (Two of the same kind will have the same number)
property Code: Int32 read;
Int32 Code { get; }
var Code: Int32 { get{} }
ReadOnly Property Code() As Int32
IntToString
method IntToString: String
String IntToString()
func IntToString() -> String
Function IntToString() As String
IsError
If true, this message is an error, if false it's a warning.
property IsError: Boolean read;
Boolean IsError { get; }
var IsError: Boolean { get{} }
ReadOnly Property IsError() As Boolean
Position
Position this error occured at.
property Position: Position read;
Position Position { get; }
var Position: Position { get{} }
ReadOnly Property Position() As Position
ToString
method ToString: String
String ToString()
func ToString() -> String
Function ToString() As String
Code
The error code, these are unique numbers assigned to a given error message kind. (Two of the same kind will have the same number)
property Code: Int32 read;
Int32 Code { get; }
var Code: Int32 { get{} }
ReadOnly Property Code() As Int32
IsError
If true, this message is an error, if false it's a warning.
property IsError: Boolean read;
Boolean IsError { get; }
var IsError: Boolean { get{} }
ReadOnly Property IsError() As Boolean
Position
Position this error occured at.
property Position: Position read;
Position Position { get; }
var Position: Position { get{} }
ReadOnly Property Position() As Position
constructor
constructor(aPosition: Position)
ParserMessage(Position aPosition)
init(_ aPosition: Position)
Sub New(aPosition As Position)
Parameters:
- aPosition:
IntToString
method IntToString: String
String IntToString()
func IntToString() -> String
Function IntToString() As String
ToString
method ToString: String
String ToString()
func ToString() -> String
Function ToString() As String