Class TCasScriptLexer
Unit
Declaration
type TCasScriptLexer = class(TObject)
Description
This item has no description.
Hierarchy
- TObject
- TCasScriptLexer
Overview
Methods
function NextToken: TToken; |
|
constructor Create(const AText: string); |
|
function TokenDescription: string; |
|
procedure CheckTokenIs(Tok: TToken); |
Properties
property Token: TToken read FToken; |
|
property TokenInteger: Int64 read FTokenInteger; |
|
property TokenFloat: Float read FTokenFloat; |
|
property TokenString: string read FTokenString; |
|
property TokenBoolean: boolean read FTokenBoolean; |
|
property TokenFunctionClass: TCasScriptFunctionClass read FTokenFunctionClass; |
|
property TextPos: Integer read FTextPos; |
|
property Text: string read FText; |
Description
Methods
function NextToken: TToken; |
|
When Token is tokEnd, then Exceptions raised |
constructor Create(const AText: string); |
|
This item has no description. |
function TokenDescription: string; |
|
Current token textual description. Useful mainly for debugging lexer. |
procedure CheckTokenIs(Tok: TToken); |
|
Check is current token Tok, eventually rise parser error. This is an utility for parser. Exceptions raised
|
Properties
property Token: TToken read FToken; |
|
This item has no description. |
property TokenInteger: Int64 read FTokenInteger; |
|
This item has no description. |
property TokenFloat: Float read FTokenFloat; |
|
This item has no description. |
property TokenString: string read FTokenString; |
|
This item has no description. |
property TokenBoolean: boolean read FTokenBoolean; |
|
This item has no description. |
property TokenFunctionClass: TCasScriptFunctionClass read FTokenFunctionClass; |
|
This item has no description. |
property TextPos: Integer read FTextPos; |
|
Position of lexer in the Text string. |
property Text: string read FText; |
|
Text that this lexer reads. |
Generated by PasDoc 0.16.0-snapshot.