Lines Matching refs:allConstInfos

109             $context->allConstInfos = array_merge($context->allConstInfos, $constInfos);
119 $context->allConstInfos,
144 $context->allConstInfos,
180 public array $allConstInfos = []; variable in Context
2183 …ssion(Expr $expr, ?SimpleType $constType, ?string $cConstName, array $allConstInfos): EvaluatedVal… argument
2186 $visitor = new class($allConstInfos) extends PhpParser\NodeVisitorAbstract
2191 public array $allConstInfos; variable in EvaluatedValue::createFromExpression::AnonymousClass9f7c94370100
2194 public function __construct(array $allConstInfos) argument
2196 $this->allConstInfos = $allConstInfos;
2216 $const = $this->allConstInfos[$originatingConstName->__toString()] ?? null;
2219 return $const->getValue($this->allConstInfos)->expr;
2231 static function (Expr $expr) use ($allConstInfos, &$isUnknownConstValue) {
2243 foreach ($allConstInfos as $const) {
2393 abstract protected function getFieldSynopsisValueString(array $allConstInfos): ?string; argument
2479 public function getFieldSynopsisElement(DOMDocument $doc, array $allConstInfos): DOMElement argument
2497 $valueString = $this->getFieldSynopsisValueString($allConstInfos);
2585 public function getValue(array $allConstInfos): EvaluatedValue argument
2591 $allConstInfos
2618 protected function getFieldSynopsisValueString(array $allConstInfos): ?string argument
2620 … $value = EvaluatedValue::createFromExpression($this->value, null, $this->cValue, $allConstInfos);
2626 return implode("\n", array_map(function (ConstInfo $const) use ($allConstInfos) {
2627 return $const->getFieldSynopsisValueString($allConstInfos);
2680 public function getDeclaration(array $allConstInfos): string argument
2688 …e = EvaluatedValue::createFromExpression($this->value, $simpleType, $this->cValue, $allConstInfos);
2705 $code .= $this->getClassConstDeclaration($value, $allConstInfos);
2707 $code .= $this->getGlobalConstDeclaration($value, $allConstInfos);
2719 private function getGlobalConstDeclaration(EvaluatedValue $value, array $allConstInfos): string argument
2760 private function getClassConstDeclaration(EvaluatedValue $value, array $allConstInfos): string argument
2764 $zvalCode = $value->initializeZval("const_{$constName}_value", $allConstInfos);
3060 protected function getFieldSynopsisValueString(array $allConstInfos): ?string argument
3073 public function getDeclaration(array $allConstInfos): string { argument
3081 …faultValue = EvaluatedValue::createFromExpression($this->defaultValue, null, null, $allConstInfos);
3245 public function getDeclaration(array $allConstInfos): string { argument
3250 $value = EvaluatedValue::createFromExpression($this->value, null, null, $allConstInfos);
3273 …public function generateCode(string $invocation, string $nameSuffix, array $allConstInfos, ?int $p… argument
3298 $value = EvaluatedValue::createFromExpression($arg->value, null, null, $allConstInfos);
3394 public function getRegistration(array $allConstInfos): string argument
3499 $code .= $const->getDeclaration($allConstInfos);
3503 $code .= $enumCase->getDeclaration($allConstInfos);
3507 $code .= $property->getDeclaration($allConstInfos);
3519 $allConstInfos,
3529 …ionCode = generateConstantAttributeInitialization($this->constInfos, $allConstInfos, $this->phpVer…
3541 …Code = generatePropertyAttributeInitialization($this->propertyInfos, $allConstInfos, $this->phpVer…
3553 …tionCode = generateFunctionAttributeInitialization($this->funcInfos, $allConstInfos, $this->phpVer…
3659 public function getClassSynopsisDocument(array $classMap, array $allConstInfos): ?string { argument
3663 $classSynopsis = $this->getClassSynopsisElement($doc, $classMap, $allConstInfos);
3677 …public function getClassSynopsisElement(DOMDocument $doc, array $classMap, array $allConstInfos): … argument
3757 $fieldSynopsisElement = $constInfo->getFieldSynopsisElement($doc, $allConstInfos);
3770 … $fieldSynopsisElement = $propertyInfo->getFieldSynopsisElement($doc, $allConstInfos);
5216 array $allConstInfos, argument
5283 …Code = generateFunctionAttributeInitialization($fileInfo->funcInfos, $allConstInfos, $fileInfo->ge…
5294 $code .= $constInfo->getDeclaration($allConstInfos);
5305 $code .= generateClassEntryCode($fileInfo, $allConstInfos);
5312 function generateClassEntryCode(FileInfo $fileInfo, array $allConstInfos): string { argument
5316 $code .= "\n" . $class->getRegistration($allConstInfos);
5356 function generateFunctionAttributeInitialization(iterable $funcInfos, array $allConstInfos, ?int $p… argument
5360 … static function (FuncInfo $funcInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5373 $allConstInfos,
5383 $allConstInfos,
5401 array $allConstInfos, argument
5408 … static function (ConstInfo $constInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5415 $allConstInfos,
5432 array $allConstInfos, argument
5441 $allConstInfos,
5709 function generateClassSynopses(array $classMap, array $allConstInfos): array { argument
5713 $classSynopsis = $classInfo->getClassSynopsisDocument($classMap, $allConstInfos);
5731 array $allConstInfos, argument
5798 … $newClassSynopsis = $classInfo->getClassSynopsisElement($doc, $classMap, $allConstInfos);
6369 …$predefinedConstants = replacePredefinedConstants($manualTarget, $context->allConstInfos, $undocum…
6383 $classSynopses = generateClassSynopses($classMap, $context->allConstInfos);
6398 …$classSynopses = replaceClassSynopses($manualTarget, $classMap, $context->allConstInfos, $undocume…