Lines Matching refs:funcInfo
63 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
64 $funcInfo->discardInfoForOldPhpVersions();
1366 function funcInfoToCode(FuncInfo $funcInfo): string { argument
1368 $returnType = $funcInfo->return->type;
1374 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
1375 $funcInfo->numRequiredArgs,
1381 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
1382 $funcInfo->numRequiredArgs,
1391 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
1392 $funcInfo->numRequiredArgs,
1398 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
1399 $funcInfo->numRequiredArgs,
1407 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
1411 foreach ($funcInfo->args as $argInfo) {
1464 function findEquivalentFuncInfo(array $generatedFuncInfos, FuncInfo $funcInfo): ?FuncInfo { argument
1466 if ($generatedFuncInfo->equalsApartFromName($funcInfo)) {
1477 foreach ($funcInfos as $funcInfo) {
1478 $funcCode = $codeGenerator($funcInfo);
1484 if ($funcInfo->cond) {
1485 $code .= "#if {$funcInfo->cond}\n";
1501 function (FuncInfo $funcInfo) use(&$generatedFuncInfos) {
1503 if ($generatedFuncInfo = findEquivalentFuncInfo($generatedFuncInfos, $funcInfo)) {
1506 $funcInfo->getArgInfoName(), $generatedFuncInfo->getArgInfoName()
1509 $code = funcInfoToCode($funcInfo);
1512 $generatedFuncInfos[] = $funcInfo;
1523 function (FuncInfo $funcInfo) use($fileInfo, &$generatedFunctionDeclarations) {
1524 $key = $funcInfo->getDeclarationKey();
1530 return $fileInfo->declarationPrefix . $funcInfo->getDeclaration();
1557 $code .= generateCodeWithConditions($funcInfos, "", function (FuncInfo $funcInfo) {
1558 return $funcInfo->getFunctionEntry();
1574 foreach ($funcMap as $funcInfo) {
1575 $methodSynopsis = $funcInfo->getMethodSynopsisDocument($funcMap, $aliasMap);
1577 $result[$funcInfo->name->getMethodSynopsisFilename() . ".xml"] = $methodSynopsis;
1653 $funcInfo = $funcMap[$funcName];
1655 $newMethodSynopsis = $funcInfo->getMethodSynopsisElement($funcMap, $aliasMap, $doc);
1722 if (!isset($funcInfo->args[$index])) {
1726 $paramElement->textContent = $funcInfo->args[$index]->name;
1856 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
1857 foreach ($funcInfo->args as $argInfo) {
1876 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
1878 $funcMap[$funcInfo->name->__toString()] = $funcInfo;
1880 if ($funcInfo->aliasType === "alias") {
1881 $aliasMap[$funcInfo->alias->__toString()] = $funcInfo;