Class ECasScriptSyntaxError

Unit

Declaration

type ECasScriptSyntaxError = class(ECasScriptError)

Description

A common class for ECasScriptLexerError and ECasScriptParserError

Source: castlescript/castlescriptlexer.pas (line 101).

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);

This item has no description.

Source: castlescript/castlescriptlexer.pas (line 112).

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

This item has no description.

Source: castlescript/castlescriptlexer.pas (line 113).

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)

Source: castlescript/castlescriptlexer.pas (line 110).

Public property LexerText: string read FLexerText;

This item has no description.

Source: castlescript/castlescriptlexer.pas (line 111).


Generated by PasDoc 0.17.0.snapshot.