Class TCasScriptRegisteredHandler

Unit

Declaration

type TCasScriptRegisteredHandler = class(TObject)

Description

This item has no description.

Hierarchy

  • TObject
  • TCasScriptRegisteredHandler

Overview

Methods

Public constructor Create( AHandler: TCasScriptFunctionHandler; AFunctionClass: TCasScriptFunctionClass; const AArgumentClasses: TCasScriptValueClassArray; const AVariableArgumentsCount: boolean);

Properties

Public property Handler: TCasScriptFunctionHandler read FHandler;
Public property FunctionClass: TCasScriptFunctionClass read FFunctionClass;
Public property ArgumentClasses: TCasScriptValueClassArray read FArgumentClasses;
Public property VariableArgumentsCount: boolean read FVariableArgumentsCount;

Description

Methods

Public constructor Create( AHandler: TCasScriptFunctionHandler; AFunctionClass: TCasScriptFunctionClass; const AArgumentClasses: TCasScriptValueClassArray; const AVariableArgumentsCount: boolean);

This item has no description.

Properties

Public property Handler: TCasScriptFunctionHandler read FHandler;

This item has no description.

Public property FunctionClass: TCasScriptFunctionClass read FFunctionClass;

This item has no description.

Public property ArgumentClasses: TCasScriptValueClassArray read FArgumentClasses;

This item has no description.

Public property VariableArgumentsCount: boolean read FVariableArgumentsCount;

Is the handler able to receive any number of arguments.

If yes, then the last argument class may be repeated any number of times (but must occur at least once). That is, the ArgumentClasses array dictates the required arguments, and more arguments are allowed. Note that this means that at least one argument must be allowed (we have to know the argument class that can be repeated at the end), otherwise the handler will not be able to receive variable number of arguments anyway.


Generated by PasDoc 0.16.0-snapshot.