Class ECasScriptSyntaxError

Unit

Declaration

type ECasScriptSyntaxError = class(ECasScriptError)

Description

A common class for ECasScriptLexerError and ECasScriptParserError

Hierarchy

Overview

Methods

Public constructor Create(Lexer: TCasScriptLexer; const s: string);
Public constructor CreateFmt(Lexer: TCasScriptLexer; const s: string; const args: array of const);

Properties

Public property LexerTextPos: Integer read FLexerTextPos;
Public property LexerText: string read FLexerText;

Description

Methods

Public constructor Create(Lexer: TCasScriptLexer; const s: string);
 
Public constructor CreateFmt(Lexer: TCasScriptLexer; const s: string; const args: array of const);
 

Properties

Public property LexerTextPos: Integer read FLexerTextPos;

Those things are copied from Lexer at exception creation. We do not copy reference to Lexer since this would be too dangerous in usual situation (you would have to be always sure that you will not access it before you Freed it; too troublesome, usually)

Public property LexerText: string read FLexerText;
 

Generated by PasDoc 0.16.0.