Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TIFPSInternalProcedure

Unit

ifpscomp

Declaration

type TIFPSInternalProcedure = class(TIFPSProcedure)

Description

TIFPSInternalProcedure stores information for scripted procedures

Hierarchy

TIFPSProcedure

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public procedure ResultUse;
Public procedure Use;

Description

Public constructor Create;

IFPS3_mi2s(position)+IFPS3_mi2s(destinationnamehash)+destinationname

Public destructor Destroy; override;

 

Public procedure ResultUse;

Use the result variable

Public procedure Use;

Use this procedure

Properties

Overview

Public property aExport: TIFPSExportType;
Public property Data: string;
Public property Decl: string;
Public property DeclareCol: Cardinal;
Public property DeclarePos: Cardinal;
Public property DeclareRow: Cardinal;
Public property Forwarded: Boolean;
Public property Gotos: TIfStringList;
Public property Labels: TIfStringList;
Public property Name: string;
Public property NameHash: Longint;
Public property OriginalName: string;
Public property OutputDeclPosition: Cardinal;
Public property ProcVars: TIFList;
Public property ResultUsed: Boolean;
Public property Used: Boolean;

Description

Public property aExport: TIFPSExportType;

The export mode

Public property Data: string;

The compiled code for this procedure

Public property Decl: string;

The declaration for this procedure: [RESULTTYPE] [PARAM1MODIFIER][PARAM1NAME] [PARAM1TYPE] [PARAM2MODIFIER] [PARAM2NAME] ... Modifiers: WARNING: @ = Normal Parameter ! = Var parameter

Public property DeclareCol: Cardinal;

The col part of the position

Public property DeclarePos: Cardinal;

The position this procedure is declared

Public property DeclareRow: Cardinal;

The row part of the position

Public property Forwarded: Boolean;

This field is true when the last declaration of this procedure was forwarded

Public property Gotos: TIfStringList;

All goto's within this procedure

Public property Labels: TIfStringList;

All labels within this procedure

Public property Name: string;

The name for this procedure (in uppercase)

Public property NameHash: Longint;

The hash for the name of this procedure

Public property OriginalName: string;

The original name

Public property OutputDeclPosition: Cardinal;

This field is used when writing the byte code. Do not set or change this

Public property ProcVars: TIFList;

A list with all local variables

Public property ResultUsed: Boolean;

This field is true when the result of this function is assigned somewhere

Public property Used: Boolean;

True when this procedure is called from somewhere