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