Lines Matching refs:funcInfo
76 foreach ($legacyFileInfo->getAllFuncInfos() as $funcInfo) {
77 $funcInfo->discardInfoForOldPhpVersions();
2050 foreach ($this->funcInfos as $funcInfo) {
2051 if ($funcInfo->name->isConstructor()) {
2061 foreach ($this->funcInfos as $funcInfo) {
2062 if ($funcInfo->name->isDestructor()) {
2072 foreach ($this->funcInfos as $funcInfo) {
2073 if (!$funcInfo->name->isConstructor() && !$funcInfo->name->isDestructor()) {
2101 foreach ($this->funcInfos as $key => $funcInfo) {
2102 $this->funcInfos[$key] = clone $funcInfo;
2142 foreach ($this->funcInfos as $key => $funcInfo) {
2143 $this->funcInfos[$key] = clone $funcInfo;
2662 function funcInfoToCode(FuncInfo $funcInfo): string { argument
2664 $returnType = $funcInfo->return->type;
2665 $isTentativeReturnType = $funcInfo->return->tentativeReturnType;
2673 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
2674 $funcInfo->numRequiredArgs,
2681 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
2682 $funcInfo->numRequiredArgs,
2692 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
2693 $funcInfo->numRequiredArgs,
2700 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
2701 $funcInfo->numRequiredArgs,
2709 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
2713 foreach ($funcInfo->args as $argInfo) {
2766 function findEquivalentFuncInfo(array $generatedFuncInfos, FuncInfo $funcInfo): ?FuncInfo { argument
2768 if ($generatedFuncInfo->equalsApartFromNameAndRefcount($funcInfo)) {
2779 foreach ($funcInfos as $funcInfo) {
2780 $funcCode = $codeGenerator($funcInfo);
2786 if ($funcInfo->cond) {
2787 $code .= "#if {$funcInfo->cond}\n";
2803 function (FuncInfo $funcInfo) use(&$generatedFuncInfos) {
2805 if ($generatedFuncInfo = findEquivalentFuncInfo($generatedFuncInfos, $funcInfo)) {
2808 $funcInfo->getArgInfoName(), $generatedFuncInfo->getArgInfoName()
2811 $code = funcInfoToCode($funcInfo);
2814 $generatedFuncInfos[] = $funcInfo;
2825 function (FuncInfo $funcInfo) use($fileInfo, &$generatedFunctionDeclarations) {
2826 $key = $funcInfo->getDeclarationKey();
2832 return $fileInfo->declarationPrefix . $funcInfo->getDeclaration();
2873 $code .= generateCodeWithConditions($funcInfos, "", function (FuncInfo $funcInfo) {
2874 return $funcInfo->getFunctionEntry();
2889 $code .= generateCodeWithConditions($funcInfos, "", function (FuncInfo $funcInfo) {
2890 return $funcInfo->getOptimizerInfo();
3042 foreach ($funcMap as $funcInfo) {
3043 $methodSynopsis = $funcInfo->getMethodSynopsisDocument($funcMap, $aliasMap);
3045 $result[$funcInfo->name->getMethodSynopsisFilename() . ".xml"] = $methodSynopsis;
3117 $funcInfo = $funcMap[$funcName];
3119 $newMethodSynopsis = $funcInfo->getMethodSynopsisElement($funcMap, $aliasMap, $doc);
3174 if (!isset($funcInfo->args[$index])) {
3178 $paramElement->textContent = $funcInfo->args[$index]->name;
3347 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
3348 foreach ($funcInfo->args as $argInfo) {
3369 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
3371 $funcMap[$funcInfo->name->__toString()] = $funcInfo;
3374 if ($funcInfo->aliasType === "alias") {
3375 $aliasMap[$funcInfo->alias->__toString()] = $funcInfo;