Index

Package: Methods

Description

package Scripting.Statements.Methods is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Method

type Method is new Statement with private;

Ancestors:

Primitive operations:

Delete (overriding Objects.Delete)
Evaluate (overriding Scripting.Statements.Evaluate)
Objects.Construct (Inherited)
Objects.To_String (Inherited)
A Method statement evaluates a function, ignoring any return value.

Types

A_Method

type A_Method is access all Method'Class;

Subprograms & Entries

Create_Method

function Create_Method return A_Method;
Creates a new empty Method.

Set_Function

procedure Set_Function
( this: not null access Method'Class;
func: not null A_Function );
Sets the function that the method statement will evaluate.