| Description | Hierarchy | Fields | Methods | Properties |
type TLexer = class(TObject)
Class that provides the basic functionality for parsing a stream into tokens (hence the name TLexer). This is a modified version of the class TParser provided with the Delphi IDE software.
![]() |
constructor Create(Stream: TStream); |
![]() |
destructor Destroy; override; |
![]() |
procedure CheckToken(T: Char); |
![]() |
procedure CheckTokenSymbol(const S: string); |
![]() |
procedure Error(const Ident: string); |
![]() |
procedure ErrorFmt(const Ident: string; const Args: array of const); |
![]() |
procedure ErrorStr(const Message: string); |
![]() |
function NextToken: Char; |
![]() |
function SourcePos: Longint; |
![]() |
function TokenComponentIdent: string; |
![]() |
function TokenFloat: Extended; |
![]() |
function TokenInt: Int64; |
![]() |
function TokenString: string; |
![]() |
function TokenSymbolIs(const S: string): Boolean; |
![]() |
function TokenWideString: WideString; |
![]() |
constructor Create(Stream: TStream); |
![]() |
destructor Destroy; override; |
![]() |
procedure CheckToken(T: Char); |
![]() |
procedure CheckTokenSymbol(const S: string); |
![]() |
procedure Error(const Ident: string); |
![]() |
procedure ErrorFmt(const Ident: string; const Args: array of const); |
![]() |
procedure ErrorStr(const Message: string); |
![]() |
function NextToken: Char; |
![]() |
function SourcePos: Longint; |
![]() |
function TokenComponentIdent: string; |
![]() |
function TokenFloat: Extended; |
![]() |
function TokenInt: Int64; |
![]() |
function TokenString: string; |
![]() |
function TokenSymbolIs(const S: string): Boolean; |
![]() |
function TokenWideString: WideString; |
![]() |
property FloatType: Char; |
![]() |
property SourceLine: Integer; |
![]() |
property Token: Char; |
![]() |
property FloatType: Char; |
![]() |
property SourceLine: Integer; |
![]() |
property Token: Char; |