Lines Matching refs:fileInfo
28 $fileInfo = processStubFile($pathName, $context);
29 if ($fileInfo) {
30 $fileInfos[] = $fileInfo;
56 $fileInfo = parseStubFile($stubCode);
57 $arginfoCode = generateArgInfoCode($fileInfo, $stubHash);
62 if ($fileInfo->generateLegacyArginfo) {
63 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
66 $arginfoCode = generateArgInfoCode($fileInfo, $stubHash);
72 return $fileInfo;
1264 function handleStatements(FileInfo $fileInfo, array $stmts, PrettyPrinterAbstract $prettyPrinter) { argument
1272 handleStatements($fileInfo, $stmt->stmts, $prettyPrinter);
1278 $fileInfo->funcInfos[] = parseFunctionLike(
1326 $fileInfo->classInfos[] = new ClassInfo($className, $methodInfos);
1348 $fileInfo = new FileInfo;
1354 $fileInfo->generateFunctionEntries = true;
1355 $fileInfo->declarationPrefix = $tag->value ? $tag->value . " " : "";
1357 $fileInfo->generateLegacyArginfo = true;
1362 handleStatements($fileInfo, $stmts, $prettyPrinter);
1363 return $fileInfo;
1495 function generateArgInfoCode(FileInfo $fileInfo, string $stubHash): string { argument
1500 $fileInfo->getAllFuncInfos(), "\n",
1517 if ($fileInfo->generateFunctionEntries) {
1522 $fileInfo->getAllFuncInfos(), "",
1523 function (FuncInfo $funcInfo) use($fileInfo, &$generatedFunctionDeclarations) {
1530 return $fileInfo->declarationPrefix . $funcInfo->getDeclaration();
1534 if (!empty($fileInfo->funcInfos)) {
1535 $code .= generateFunctionEntries(null, $fileInfo->funcInfos);
1538 foreach ($fileInfo->classInfos as $classInfo) {
1841 $fileInfo = processStubFile($location, $context); variable
1842 if ($fileInfo) {
1843 $fileInfos[] = $fileInfo;
1855 foreach ($fileInfos as $fileInfo) {
1856 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
1875 foreach ($fileInfos as $fileInfo) {
1876 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {