Lines Matching refs:allConstInfos

114             $context->allConstInfos = array_merge($context->allConstInfos, $constInfos);
124 $context->allConstInfos,
152 $context->allConstInfos,
188 public array $allConstInfos = []; variable in Context
2188 …ssion(Expr $expr, ?SimpleType $constType, ?string $cConstName, array $allConstInfos): EvaluatedVal… argument
2191 $visitor = new class($allConstInfos) extends PhpParser\NodeVisitorAbstract
2196 public array $allConstInfos; variable in EvaluatedValue::createFromExpression::AnonymousClassea93b2a90100
2199 public function __construct(array $allConstInfos) argument
2201 $this->allConstInfos = $allConstInfos;
2221 $const = $this->allConstInfos[$originatingConstName->__toString()] ?? null;
2224 return $const->getValue($this->allConstInfos)->expr;
2236 static function (Expr $expr) use ($allConstInfos, &$isUnknownConstValue) {
2248 foreach ($allConstInfos as $const) {
2398 abstract protected function getFieldSynopsisValueString(array $allConstInfos): ?string; argument
2484 public function getFieldSynopsisElement(DOMDocument $doc, array $allConstInfos): DOMElement argument
2502 $valueString = $this->getFieldSynopsisValueString($allConstInfos);
2590 public function getValue(array $allConstInfos): EvaluatedValue argument
2596 $allConstInfos
2623 protected function getFieldSynopsisValueString(array $allConstInfos): ?string argument
2625 … $value = EvaluatedValue::createFromExpression($this->value, null, $this->cValue, $allConstInfos);
2631 return implode("\n", array_map(function (ConstInfo $const) use ($allConstInfos) {
2632 return $const->getFieldSynopsisValueString($allConstInfos);
2685 public function getDeclaration(array $allConstInfos): string argument
2693 …e = EvaluatedValue::createFromExpression($this->value, $simpleType, $this->cValue, $allConstInfos);
2710 $code .= $this->getClassConstDeclaration($value, $allConstInfos);
2712 $code .= $this->getGlobalConstDeclaration($value, $allConstInfos);
2724 private function getGlobalConstDeclaration(EvaluatedValue $value, array $allConstInfos): string argument
2765 private function getClassConstDeclaration(EvaluatedValue $value, array $allConstInfos): string argument
2769 $zvalCode = $value->initializeZval("const_{$constName}_value", $allConstInfos);
2971 protected function getFieldSynopsisValueString(array $allConstInfos): ?string argument
2984 public function getDeclaration(array $allConstInfos): string { argument
2992 …faultValue = EvaluatedValue::createFromExpression($this->defaultValue, null, null, $allConstInfos);
3106 public function getDeclaration(array $allConstInfos): string { argument
3111 $value = EvaluatedValue::createFromExpression($this->value, null, null, $allConstInfos);
3134 …public function generateCode(string $invocation, string $nameSuffix, array $allConstInfos, ?int $p… argument
3159 $value = EvaluatedValue::createFromExpression($arg->value, null, null, $allConstInfos);
3255 public function getRegistration(array $allConstInfos): string argument
3360 $code .= $const->getDeclaration($allConstInfos);
3364 $code .= $enumCase->getDeclaration($allConstInfos);
3368 $code .= $property->getDeclaration($allConstInfos);
3380 $allConstInfos,
3390 …ionCode = generateConstantAttributeInitialization($this->constInfos, $allConstInfos, $this->phpVer…
3402 …Code = generatePropertyAttributeInitialization($this->propertyInfos, $allConstInfos, $this->phpVer…
3414 …tionCode = generateFunctionAttributeInitialization($this->funcInfos, $allConstInfos, $this->phpVer…
3520 public function getClassSynopsisDocument(array $classMap, array $allConstInfos): ?string { argument
3524 $classSynopsis = $this->getClassSynopsisElement($doc, $classMap, $allConstInfos);
3538 …public function getClassSynopsisElement(DOMDocument $doc, array $classMap, array $allConstInfos): … argument
3618 $fieldSynopsisElement = $constInfo->getFieldSynopsisElement($doc, $allConstInfos);
3631 … $fieldSynopsisElement = $propertyInfo->getFieldSynopsisElement($doc, $allConstInfos);
5077 array $allConstInfos, argument
5144 …Code = generateFunctionAttributeInitialization($fileInfo->funcInfos, $allConstInfos, $fileInfo->ge…
5155 $code .= $constInfo->getDeclaration($allConstInfos);
5166 $code .= generateClassEntryCode($fileInfo, $allConstInfos);
5173 function generateClassEntryCode(FileInfo $fileInfo, array $allConstInfos): string { argument
5177 $code .= "\n" . $class->getRegistration($allConstInfos);
5217 function generateFunctionAttributeInitialization(iterable $funcInfos, array $allConstInfos, ?int $p… argument
5221 … static function (FuncInfo $funcInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5234 $allConstInfos,
5244 $allConstInfos,
5262 array $allConstInfos, argument
5269 … static function (ConstInfo $constInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5276 $allConstInfos,
5293 array $allConstInfos, argument
5302 $allConstInfos,
5570 function generateClassSynopses(array $classMap, array $allConstInfos): array { argument
5574 $classSynopsis = $classInfo->getClassSynopsisDocument($classMap, $allConstInfos);
5592 array $allConstInfos, argument
5659 … $newClassSynopsis = $classInfo->getClassSynopsisElement($doc, $classMap, $allConstInfos);
6230 …$predefinedConstants = replacePredefinedConstants($manualTarget, $context->allConstInfos, $undocum…
6244 $classSynopses = generateClassSynopses($classMap, $context->allConstInfos);
6259 …$classSynopses = replaceClassSynopses($manualTarget, $classMap, $context->allConstInfos, $undocume…