Method | Description | |
---|---|---|
getReflection ( callable $function ) : Pinq\Parsing\IFunctionReflection | Gets a function reflection from the supplied function. | |
parse ( Pinq\Parsing\IFunctionReflection $reflection ) : Pinq\Parsing\IFunctionStructure | Parses the supplied function and returns it's declaration and body structure. |
public getReflection ( callable $function ) : Pinq\Parsing\IFunctionReflection | ||
$function | callable | |
return | Pinq\Parsing\IFunctionReflection |
public parse ( Pinq\Parsing\IFunctionReflection $reflection ) : Pinq\Parsing\IFunctionStructure | ||
$reflection | Pinq\Parsing\IFunctionReflection | |
return | Pinq\Parsing\IFunctionStructure |