Packagecom.whirled.contrib.avrg.probe
Classpublic class FunctionSpec

Holds everything needed to generate the parameters for and call a function.



Public Properties
 PropertyDefined by
  func : Function
[read-only] The action script callable object.
FunctionSpec
  name : String
[read-only] The name of the function.
FunctionSpec
  parameters : Array
[read-only] The array of Parameters to the function.
FunctionSpec
Protected Properties
 PropertyDefined by
  _func : Function
FunctionSpec
  _name : String
FunctionSpec
  _parameters : Array
FunctionSpec
Public Methods
 MethodDefined by
  
FunctionSpec(name:String, func:Function, parameters:Array = null)
Creates a new function spec.
FunctionSpec
Property detail
_funcproperty
protected var _func:Function
funcproperty 
func:Function  [read-only]

The action script callable object.

Implementation
    public function get func():Function
_nameproperty 
protected var _name:String
nameproperty 
name:String  [read-only]

The name of the function.

Implementation
    public function get name():String
_parametersproperty 
protected var _parameters:Array
parametersproperty 
parameters:Array  [read-only]

The array of Parameters to the function.

Implementation
    public function get parameters():Array

See also

Constructor detail
FunctionSpec()constructor
public function FunctionSpec(name:String, func:Function, parameters:Array = null)

Creates a new function spec.

Parameters
name:String — the name of the function
 
func:Function — the function
 
parameters:Array (default = null) — an array of Parameter objects that represent the function's actual parameters

See also