TIfPascalParser

Unit: ifs_utl.pas
TIfPascalParser is used to parse a pascal file and parse it to make it easier to create a script interpretter.
You can use SkipWhiteSpace, GetToken and ParseToken with the parsing.

Declaration:
  PIfPascalParser = ^TIfPascalParser;
  TIfPascalParser = record
    CurrTokenId: TIfPasToken;
    CurrTokenLen: LongInt;
    CurrTokenPos: LongInt;
    Text: PChar;
  end;