PHP Interface Pinq\Parsing\IParser

Author: Elliot Levin ([email protected])
Afficher le fichier Open project: timetoogo/pinq Interface Usage Examples

Méthodes publiques

Méthode 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.

Method Details

getReflection() public méthode

Gets a function reflection from the supplied function.
public getReflection ( callable $function ) : Pinq\Parsing\IFunctionReflection
$function callable
Résultat Pinq\Parsing\IFunctionReflection

parse() public méthode

The __LINE__ magic constant should be resolved to is correct value.
public parse ( Pinq\Parsing\IFunctionReflection $reflection ) : Pinq\Parsing\IFunctionStructure
$reflection Pinq\Parsing\IFunctionReflection
Résultat Pinq\Parsing\IFunctionStructure