Package | org.spicefactory.lib.reflect |
Class | public class FunctionBase |
Inheritance | FunctionBase Member MetadataAware Object |
Subclasses | Constructor, Method |
Property | Defined By | ||
---|---|---|---|
declaredBy : ClassInfo [read-only]
The type declaring this member. | Member | ||
name : String [read-only]
The name of this member. | Member | ||
namespaceURI : String [read-only]
The namespace URI for this member or null if this is a public member. | Member | ||
owner : ClassInfo [read-only]
The owner of this member. | Member | ||
parameters : Array [read-only]
The parameter types of the function represented by this instance. | FunctionBase |
Method | Defined By | ||
---|---|---|---|
convertParameters(params:Array):void
Converts the specified parameters to the types expected for this function if necessary. | FunctionBase |
parameters | property |
parameters:Array
[read-only]
The parameter types of the function represented by this instance.
Each element in the returned Array is an instance of the Parameter
class.
public function get parameters():Array
convertParameters | () | method |
protected function convertParameters(params:Array):void
Converts the specified parameters to the types expected for this function if necessary.
Parameters
params:Array — the parameters to convert
|
MethodInvocationError — if the specified number of parameters is invalid for this function
| |
ConversionError — if the conversion for one of parameters fails
|