type TIfPascalParser = class(TObject)
![]() |
procedure Next; |
![]() |
procedure SetText(const Data: string); |
![]() |
procedure Next; |
Go to the next token
![]() |
procedure SetText(const Data: string); |
Load a script
![]() |
property Col: Cardinal; |
![]() |
property CurrTokenID: TIFPasToken; |
![]() |
property CurrTokenPos: Cardinal; |
![]() |
property EnableComments: Boolean; |
![]() |
property EnableWhitespaces: Boolean; |
![]() |
property GetToken: string; |
![]() |
property OnParserError: TIFParserErrorEvent; |
![]() |
property OriginalToken: string; |
![]() |
property Row: Cardinal; |
![]() |
property Col: Cardinal; |
The current col
![]() |
property CurrTokenID: TIFPasToken; |
The current token ID
![]() |
property CurrTokenPos: Cardinal; |
The current token position
![]() |
property EnableComments: Boolean; |
only applicable when Token in [CSTI_Identifier, CSTI_Integer, CSTI_Real, CSTI_String, CSTI_Char, CSTI_HexInt]
![]() |
property EnableWhitespaces: Boolean; |
![]() |
property GetToken: string; |
Return the token in case it is a string, char, integer, number or identifier
![]() |
property OnParserError: TIFParserErrorEvent; |
Parser error event will be called on (syntax) errors in the script
![]() |
property OriginalToken: string; |
Return the token but do not uppercase it
![]() |
property Row: Cardinal; |
The Current row