Class TSelectExpression

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSelectExpression = class(TExpression)

Description

TSelectExpression is used for "if" and "case" statements. It allows Evaluate to be faster and safer by only evaluating the arguments that will be used.

Hierarchy

Overview

Methods

Private function GetSelectIndex(AVariable: TConstant): integer;
Public procedure Evaluate; override;

Description

Methods

Private function GetSelectIndex(AVariable: TConstant): integer;
 
Public procedure Evaluate; override;

Evaluate calls Evaluate for its first argument and based on the result of that argument calls Evaluate for one of its other arguments and sets its own result to the result of that argument.


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