PHP 인터페이스 Pinq\Parsing\IParser

저자: Elliot Levin ([email protected])
파일 보기 프로젝트 열기: timetoogo/pinq 0 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

getReflection() 공개 메소드

Gets a function reflection from the supplied function.
public getReflection ( callable $function ) : Pinq\Parsing\IFunctionReflection
$function callable
리턴 Pinq\Parsing\IFunctionReflection

parse() 공개 메소드

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