Lines Matching refs:funcInfo

139             foreach ($legacyFileInfo->getAllFuncInfos() as $funcInfo) {
140 $funcInfo->discardInfoForOldPhpVersions($phpVersionIdMinimumCompatibility);
1390 public function getFramelessDeclaration(FuncInfo $funcInfo): ?string { argument
3875 foreach ($this->funcInfos as $funcInfo) {
3876 if ($funcInfo->name->isConstructor()) {
3886 foreach ($this->funcInfos as $funcInfo) {
3887 if ($funcInfo->name->isConstructor() && !($funcInfo->flags & Modifiers::PRIVATE)) {
3897 foreach ($this->funcInfos as $funcInfo) {
3898 if ($funcInfo->name->isDestructor()) {
3908 foreach ($this->funcInfos as $funcInfo) {
3909 if (!$funcInfo->name->isConstructor() && !$funcInfo->name->isDestructor()) {
3941 foreach ($this->funcInfos as $key => $funcInfo) {
3942 $this->funcInfos[$key] = clone $funcInfo;
4039 foreach ($this->funcInfos as $key => $funcInfo) {
4040 $this->funcInfos[$key] = clone $funcInfo;
4893 function funcInfoToCode(FileInfo $fileInfo, FuncInfo $funcInfo): string { argument
4895 $returnType = $funcInfo->return->type;
4896 $isTentativeReturnType = $funcInfo->return->tentativeReturnType;
4908 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
4909 $funcInfo->numRequiredArgs,
4916 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
4917 $funcInfo->numRequiredArgs,
4927 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
4928 $funcInfo->numRequiredArgs,
4935 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
4936 $funcInfo->numRequiredArgs,
4944 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
4950 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
4954 foreach ($funcInfo->args as $argInfo) {
5007 function findEquivalentFuncInfo(array $generatedFuncInfos, FuncInfo $funcInfo): ?FuncInfo { argument
5009 if ($generatedFuncInfo->equalsApartFromNameAndRefcount($funcInfo)) {
5087 static function (FuncInfo $funcInfo) use (&$generatedFuncInfos, $fileInfo) {
5089 if ($generatedFuncInfo = findEquivalentFuncInfo($generatedFuncInfos, $funcInfo)) {
5092 $funcInfo->getArgInfoName(), $generatedFuncInfo->getArgInfoName()
5095 $code = funcInfoToCode($fileInfo, $funcInfo);
5098 $generatedFuncInfos[] = $funcInfo;
5110 static function (FuncInfo $funcInfo) {
5111 $code = $funcInfo->getFramelessDeclaration($funcInfo);
5123 static function (FuncInfo $funcInfo) use ($fileInfo, &$generatedFunctionDeclarations) {
5124 $key = $funcInfo->getDeclarationKey();
5130 return $fileInfo->declarationPrefix . $funcInfo->getDeclaration();
5203 $code .= generateCodeWithConditions($funcInfos, "", static function (FuncInfo $funcInfo) {
5204 return $funcInfo->getFunctionEntry();
5221 … static function (FuncInfo $funcInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5224 if ($funcInfo->name instanceof MethodName) {
5230 foreach ($funcInfo->attributes as $key => $attribute) {
5232 …_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\""…
5233 "func_" . $funcInfo->name->getNameForAttributes() . "_$key",
5239 foreach ($funcInfo->args as $index => $arg) {
5242 …_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\""…
5243 "func_{$funcInfo->name->getNameForAttributes()}_arg{$index}_$key",
5318 $code .= generateCodeWithConditions($funcMap, "", static function (FuncInfo $funcInfo) {
5319 return $funcInfo->getOptimizerInfo();
5728 foreach ($funcMap as $funcInfo) {
5729 $methodSynopsis = $funcInfo->getMethodSynopsisDocument($funcMap, $aliasMap);
5731 $result[$funcInfo->name->getMethodSynopsisFilename() . ".xml"] = $methodSynopsis;
5844 $funcInfo = $funcMap[$funcName];
5845 $documentedFuncMap[$funcInfo->name->__toString()] = $funcInfo->name->__toString();
5847 $newMethodSynopsis = $funcInfo->getMethodSynopsisElement($funcMap, $aliasMap, $doc);
5902 if (!isset($funcInfo->args[$index])) {
5906 $paramElement->textContent = $funcInfo->args[$index]->name;
6095 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
6096 foreach ($funcInfo->args as $argInfo) {
6126 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
6127 $funcMap[$funcInfo->name->__toString()] = $funcInfo;
6130 if ($funcInfo->aliasType === "alias") {
6131 $aliasMap[$funcInfo->alias->__toString()] = $funcInfo;