Class TCustomValue

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomValue = class(TConstant)

Description

TCustomValue is the abstract ancestor of TCustomVariable and TExpression. It adds Name and Classification properties to TConstant.

Hierarchy

Overview

Fields

Private FName: string;
Private FUserName: string;
Private FClassification: string;

Methods

Public constructor Create(const VariableName: string; const DataType: TRbwDataType);
Public function Decompile: string; override;
Public function DecompileDisplay: string; override;

Properties

Public property Classification: string read FClassification write FClassification;
Public property Name: string read FName;

Description

Fields

Private FName: string;

Always upper case

Private FUserName: string;

FUserName is the mixed-case version of FName. It is used in Decompile.

Private FClassification: string;
 

Methods

Public constructor Create(const VariableName: string; const DataType: TRbwDataType);

Create calls the inherited constructor and sets Name.

Public function Decompile: string; override;

Decompile returns the Name of the TCustomValue.

Public function DecompileDisplay: string; override;
 

Properties

Public property Classification: string read FClassification write FClassification;

Classification is meant to be used as a hint to a GUI on how to organize a series of instances of TCustomValue. It is not used internally.

Public property Name: string read FName;

Name defines how the TCustomValue should be identified. It is set via Create.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:59