Lines Matching refs:funcInfo

131             foreach ($legacyFileInfo->getAllFuncInfos() as $funcInfo) {
132 $funcInfo->discardInfoForOldPhpVersions($phpVersionIdMinimumCompatibility);
1385 public function getFramelessDeclaration(FuncInfo $funcInfo): ?string { argument
4014 foreach ($this->funcInfos as $funcInfo) {
4015 if ($funcInfo->name->isConstructor()) {
4025 foreach ($this->funcInfos as $funcInfo) {
4026 if ($funcInfo->name->isConstructor() && !($funcInfo->flags & Modifiers::PRIVATE)) {
4036 foreach ($this->funcInfos as $funcInfo) {
4037 if ($funcInfo->name->isDestructor()) {
4047 foreach ($this->funcInfos as $funcInfo) {
4048 if (!$funcInfo->name->isConstructor() && !$funcInfo->name->isDestructor()) {
4080 foreach ($this->funcInfos as $key => $funcInfo) {
4081 $this->funcInfos[$key] = clone $funcInfo;
4178 foreach ($this->funcInfos as $key => $funcInfo) {
4179 $this->funcInfos[$key] = clone $funcInfo;
5032 function funcInfoToCode(FileInfo $fileInfo, FuncInfo $funcInfo): string { argument
5034 $returnType = $funcInfo->return->type;
5035 $isTentativeReturnType = $funcInfo->return->tentativeReturnType;
5047 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
5048 $funcInfo->numRequiredArgs,
5055 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
5056 $funcInfo->numRequiredArgs,
5066 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
5067 $funcInfo->numRequiredArgs,
5074 $funcInfo->getArgInfoName(), $funcInfo->return->byRef,
5075 $funcInfo->numRequiredArgs,
5083 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
5089 $funcInfo->getArgInfoName(), $funcInfo->return->byRef, $funcInfo->numRequiredArgs
5093 foreach ($funcInfo->args as $argInfo) {
5146 function findEquivalentFuncInfo(array $generatedFuncInfos, FuncInfo $funcInfo): ?FuncInfo { argument
5148 if ($generatedFuncInfo->equalsApartFromNameAndRefcount($funcInfo)) {
5226 static function (FuncInfo $funcInfo) use (&$generatedFuncInfos, $fileInfo) {
5228 if ($generatedFuncInfo = findEquivalentFuncInfo($generatedFuncInfos, $funcInfo)) {
5231 $funcInfo->getArgInfoName(), $generatedFuncInfo->getArgInfoName()
5234 $code = funcInfoToCode($fileInfo, $funcInfo);
5237 $generatedFuncInfos[] = $funcInfo;
5249 static function (FuncInfo $funcInfo) {
5250 $code = $funcInfo->getFramelessDeclaration($funcInfo);
5262 static function (FuncInfo $funcInfo) use ($fileInfo, &$generatedFunctionDeclarations) {
5263 $key = $funcInfo->getDeclarationKey();
5269 return $fileInfo->declarationPrefix . $funcInfo->getDeclaration();
5342 $code .= generateCodeWithConditions($funcInfos, "", static function (FuncInfo $funcInfo) {
5343 return $funcInfo->getFunctionEntry();
5360 … static function (FuncInfo $funcInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5363 if ($funcInfo->name instanceof MethodName) {
5369 foreach ($funcInfo->attributes as $key => $attribute) {
5371 …_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\""…
5372 "func_" . $funcInfo->name->getNameForAttributes() . "_$key",
5378 foreach ($funcInfo->args as $index => $arg) {
5381 …_hash_str_find_ptr($functionTable, \"" . $funcInfo->name->getNameForAttributes() . "\", sizeof(\""…
5382 "func_{$funcInfo->name->getNameForAttributes()}_arg{$index}_$key",
5457 $code .= generateCodeWithConditions($funcMap, "", static function (FuncInfo $funcInfo) {
5458 return $funcInfo->getOptimizerInfo();
5867 foreach ($funcMap as $funcInfo) {
5868 $methodSynopsis = $funcInfo->getMethodSynopsisDocument($funcMap, $aliasMap);
5870 $result[$funcInfo->name->getMethodSynopsisFilename() . ".xml"] = $methodSynopsis;
5983 $funcInfo = $funcMap[$funcName];
5984 $documentedFuncMap[$funcInfo->name->__toString()] = $funcInfo->name->__toString();
5986 $newMethodSynopsis = $funcInfo->getMethodSynopsisElement($funcMap, $aliasMap, $doc);
6041 if (!isset($funcInfo->args[$index])) {
6045 $paramElement->textContent = $funcInfo->args[$index]->name;
6234 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
6235 foreach ($funcInfo->args as $argInfo) {
6265 foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
6266 $funcMap[$funcInfo->name->__toString()] = $funcInfo;
6269 if ($funcInfo->aliasType === "alias") {
6270 $aliasMap[$funcInfo->alias->__toString()] = $funcInfo;