protected function parseFunction(IFunctionReflection $reflection, $filePath)
{
if (self::$phpParser === null) {
self::$phpParser = new PhpParser\Parser(new PhpParser\Lexer());
}
$locatedFunctionNodes = $this->getLocatedFunctionNodesIn($filePath);
$matchingFunctionNode = $this->getMatchingFunctionNode($locatedFunctionNodes, $reflection);
return new FunctionStructure($matchingFunctionNode->getDeclaration(), AST::convert($matchingFunctionNode->getBodyNodes()));
}