Provides information of a parameter passed to a method.
index:int [read-only]Implementation
public function get index():int
isOptional:Boolean [read-only]Implementation
public function get isOptional():Boolean
type:Type [read-only]
Implementation
public function get type():Type
public function Parameter(index:int, type:Type, isOptional:Boolean = false)
Creates a new Parameter object.
Parameters
| index:int — the index of the parameter
|
| |
| type:Type — the class type of the parameter
|
| |
| isOptional:Boolean (default = false) — whether the parameter is optional or not
|
Prana Framework 0.5 - 2008