Lines Matching refs:funcInfo
117 foreach ($legacyFileInfo->getAllFuncInfos() as $funcInfo) {
118 $funcInfo->discardInfoForOldPhpVersions();
2965 foreach ($this->funcInfos as $funcInfo) {
2966 if ($funcInfo->name->isConstructor()) {
2976 foreach ($this->funcInfos as $funcInfo) {
2977 … if ($funcInfo->name->isConstructor() && !($funcInfo->flags & Class_::MODIFIER_PRIVATE)) {
2987 foreach ($this->funcInfos as $funcInfo) {
2988 if ($funcInfo->name->isDestructor()) {
2998 foreach ($this->funcInfos as $funcInfo) {
2999 if (!$funcInfo->name->isConstructor() && !$funcInfo->name->isDestructor()) {
3027 foreach ($this->funcInfos as $key => $funcInfo) {
3028 $this->funcInfos[$key] = clone $funcInfo;
3108 foreach ($this->funcInfos as $key => $funcInfo) {
3109 $this->funcInfos[$key] = clone $funcInfo;
3799 function funcInfoToCode(FileInfo $fileInfo, FuncInfo $funcInfo): string { argument
3801 $returnType = $funcInfo->return->type;
3802 $isTentativeReturnType = $funcInfo->return->tentativeReturnType;
3814 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
3815 $funcInfo->numRequiredArgs,
3822 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
3823 $funcInfo->numRequiredArgs,
3833 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
3834 $funcInfo->numRequiredArgs,
3841 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
3842 $funcInfo->numRequiredArgs,
3850 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
3856 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
3860 foreach ($funcInfo->args as $argInfo) {
3913 function findEquivalentFuncInfo(array $generatedFuncInfos, FuncInfo $funcInfo): ?FuncInfo { argument
3915 if ($generatedFuncInfo->equalsApartFromNameAndRefcount($funcInfo)) {
3965 static function (FuncInfo $funcInfo) use (&$generatedFuncInfos, $fileInfo) {
3967 if ($generatedFuncInfo = findEquivalentFuncInfo($generatedFuncInfos, $funcInfo)) {
3970 $funcInfo->getArgInfoName(), $generatedFuncInfo->getArgInfoName()
3973 $code = funcInfoToCode($fileInfo, $funcInfo);
3976 $generatedFuncInfos[] = $funcInfo;
3987 static function (FuncInfo $funcInfo) use ($fileInfo, &$generatedFunctionDeclarations) {
3988 $key = $funcInfo->getDeclarationKey();
3994 return $fileInfo->declarationPrefix . $funcInfo->getDeclaration();
4066 $code .= generateCodeWithConditions($funcInfos, "", static function (FuncInfo $funcInfo) {
4067 return $funcInfo->getFunctionEntry();
4085 static function (FuncInfo $funcInfo) use ($allConstInfos) {
4088 foreach ($funcInfo->args as $index => $arg) {
4089 if ($funcInfo->name instanceof MethodName) {
4096 …e, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\"" . $funcInfo->name->getNameForAt…
4113 $code .= generateCodeWithConditions($funcMap, "", static function (FuncInfo $funcInfo) {
4114 return $funcInfo->getOptimizerInfo();
4366 foreach ($funcMap as $funcInfo) {
4367 $methodSynopsis = $funcInfo->getMethodSynopsisDocument($funcMap, $aliasMap);
4369 $result[$funcInfo->name->getMethodSynopsisFilename() . ".xml"] = $methodSynopsis;
4472 $funcInfo = $funcMap[$funcName];
4473 $existingMethodSynopses[$funcInfo->name->__toString()] = $funcInfo->name->__toString();
4475 $newMethodSynopsis = $funcInfo->getMethodSynopsisElement($funcMap, $aliasMap, $doc);
4530 if (!isset($funcInfo->args[$index])) {
4534 $paramElement->textContent = $funcInfo->args[$index]->name;
4713 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
4714 foreach ($funcInfo->args as $argInfo) {
4735 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
4736 $funcMap[$funcInfo->name->__toString()] = $funcInfo;
4739 if ($funcInfo->aliasType === "alias") {
4740 $aliasMap[$funcInfo->alias->__toString()] = $funcInfo;