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

Class TIFPSPascalCompilerMessage

Unit

ifpscomp

Declaration

type TIFPSPascalCompilerMessage = class(TObject)

Description

TIFPSPascalCompilerMessage is the base class for compiler messages

Fields

 NameDescription
Protected FCol  
Protected FModuleName  
Protected FParam  
Protected FPosition  
Protected FRow  

Methods

Overview

Protected function ErrorType: string; virtual; abstract;
Public function MessageToString: string; virtual;
Public procedure SetCustomPos(Pos, Row, Col: Cardinal);
Protected procedure SetParserPos(Parser: TIfPascalParser);
Public function ShortMessageToString: string; virtual; abstract;

Description

Protected function ErrorType: string; virtual; abstract;

 

Public function MessageToString: string; virtual;

Convert a Message to a string (full details with Row and col)

Public procedure SetCustomPos(Pos, Row, Col: Cardinal);

Change the position

Protected procedure SetParserPos(Parser: TIfPascalParser);

 

Public function ShortMessageToString: string; virtual; abstract;

Convert a message to a string

Properties

Overview

Public property Col: Cardinal;
Public property ModuleName: string;
Public property Param: string;
Public property Pos: Cardinal;
Public property Row: Cardinal;

Description

Public property Col: Cardinal;

The column this message occured on

Public property ModuleName: string;

The module name this message occured in, this is not set by the compiler but will be when you use the preprocessor

Public property Param: string;

Parameter for this message

Public property Pos: Cardinal;

The position (from 0) this message occured on

Public property Row: Cardinal;

The Row this message occured on