Units
Classes, Interfaces, Objects
Types
Variables
Constants
Functions, Procedures
Identifiers

Class TIfPascalParser

Unit

ifps3utl

Declaration

type TIfPascalParser = class

Description

TIfPacalParser is the parser used to parse the current script

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public procedure Clear;
Public function CurrTokenID: TIFPasToken;
Public function GetData(var Data: string): Boolean;
Public function GetToken: string;
Public procedure Next;
Public function SetData(const Data: string): Boolean;
Public function SetText(const Data: string; var ErrRec: TIFParserError): Boolean;

Description

constructor Create;

Create

destructor Destroy; override;

Destroy

procedure Clear;

Clear the parser

function CurrTokenID: TIFPasToken;

The current token ID

function GetData(var Data: string): Boolean;

Save the data to a binary format

function GetToken: string;

Return the token in case it is a string, char, integer, number or identifier

procedure Next;

Go to the next token

function SetData(const Data: string): Boolean;

load the data from a binary format

function SetText(const Data: string; var ErrRec: TIFParserError): Boolean;

Load a script

Properties

Overview

Public CurrTokenPos: Cardinal;

Description

CurrTokenPos: Cardinal;

The current token position


Generated by rjPasDoc 0.7 on Wed 15 May 2002 19:21:35