Class TOperatorDefinition

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TOperatorDefinition = class(TObject)

Description

TOperatorDefinition defines an operator.

Hierarchy

Overview

Fields

Private FOperatorName: AnsiString;
Private FPrecedence: TPrecedence;
Private FArgumentCount: TArgumentCount;
Private FArgumentDefinitions: TArgumentList;
Private FSignOperator: boolean;

Methods

Public Constructor Create;
Public destructor Destroy; override;

Properties

Public property OperatorName: AnsiString read FOperatorName write FOperatorName;
Public property ArgumentCount: TArgumentCount read FArgumentCount write FArgumentCount;
Public property Precedence: TPrecedence read FPrecedence write FPrecedence;
Public property ArgumentDefinitions: TArgumentList read FArgumentDefinitions;
Public property SignOperator: boolean read FSignOperator write FSignOperator;

Description

Fields

Private FOperatorName: AnsiString;

See OperatorName.

Private FPrecedence: TPrecedence;

See Precedence.

Private FArgumentCount: TArgumentCount;

See ArgumentCount.

Private FArgumentDefinitions: TArgumentList;

See ArgumentDefinitions.

Private FSignOperator: boolean;

See SignOperator.

Methods

Public Constructor Create;

Create creates an instance of TOperatorDefinition.

Public destructor Destroy; override;

Destroy destroys the current instance of TOperatorDefinition. Do not call Destroy. Call Free instead.

Properties

Public property OperatorName: AnsiString read FOperatorName write FOperatorName;

OperatorName is the name of the operator.

Public property ArgumentCount: TArgumentCount read FArgumentCount write FArgumentCount;

ArgumentCount indicates how many arguments the operator has.

Public property Precedence: TPrecedence read FPrecedence write FPrecedence;

See TPrecedence

Public property ArgumentDefinitions: TArgumentList read FArgumentDefinitions;

ArgumentDefinitions must contain one or more TOperatorArgumentDefinitions.

Public property SignOperator: boolean read FSignOperator write FSignOperator;

SignOperator indicates whether or not the operator is a sign operator.


Generated by PasDoc 0.12.1 on 2013-05-13 15:42:00