Lines Matching refs:allConstInfos
97 $context->allConstInfos = array_merge($context->allConstInfos, $constInfos);
107 $context->allConstInfos,
130 $context->allConstInfos,
166 public iterable $allConstInfos = []; variable in Context
1588 …on(Expr $expr, ?SimpleType $constType, ?string $cConstName, iterable $allConstInfos): EvaluatedVal… argument
1594 …function (Expr $expr) use ($allConstInfos, &$constType, &$originatingConst, &$isUnknownConstValue)…
1612 foreach ($allConstInfos as $const) {
1662 public function initializeZval(string $zvalName, iterable $allConstInfos): string argument
1664 $cConstValue = $this->getCConstValue($allConstInfos);
1700 public function getCConstValue(iterable $allConstInfos): ?string argument
1707 … return $this->originatingConst->getValue($allConstInfos)->getCConstValue($allConstInfos);
1748 abstract protected function getFieldSynopsisValueString(iterable $allConstInfos): ?string; argument
1775 public function getFieldSynopsisElement(DOMDocument $doc, iterable $allConstInfos): DOMElement argument
1793 $valueString = $this->getFieldSynopsisValueString($allConstInfos);
1871 public function getValue(iterable $allConstInfos): EvaluatedValue argument
1877 $allConstInfos
1919 protected function getFieldSynopsisValueString(iterable $allConstInfos): ?string argument
1921 … $value = EvaluatedValue::createFromExpression($this->value, null, $this->cValue, $allConstInfos);
1927 return $value->originatingConst->getFieldSynopsisValueString($allConstInfos);
1941 public function getDeclaration(iterable $allConstInfos): string argument
1948 … $value = EvaluatedValue::createFromExpression($this->value, $type, $this->cValue, $allConstInfos);
1960 $code .= $this->getClassConstDeclaration($value, $allConstInfos);
1962 $code .= $this->getGlobalConstDeclaration($value, $allConstInfos);
1976 … private function getGlobalConstDeclaration(EvaluatedValue $value, iterable $allConstInfos): string argument
1980 $cConstValue = $value->getCConstValue($allConstInfos);
2015 … private function getClassConstDeclaration(EvaluatedValue $value, iterable $allConstInfos): string argument
2019 $zvalCode = $value->initializeZval("const_{$constName}_value", $allConstInfos);
2163 protected function getFieldSynopsisValueString(iterable $allConstInfos): ?string argument
2176 public function getDeclaration(iterable $allConstInfos): string { argument
2184 …faultValue = EvaluatedValue::createFromExpression($this->defaultValue, null, null, $allConstInfos);
2185 …e || ($defaultValue->originatingConst && $defaultValue->getCConstValue($allConstInfos) === null)) {
2235 $code .= $defaultValue->initializeZval($zvalName, $allConstInfos);
2321 public function getDeclaration(iterable $allConstInfos): string { argument
2326 $value = EvaluatedValue::createFromExpression($this->value, null, null, $allConstInfos);
2329 $code = "\n" . $value->initializeZval($zvalName, $allConstInfos);
2349 …public function generateCode(string $invocation, string $nameSuffix, iterable $allConstInfos): str… argument
2364 $value = EvaluatedValue::createFromExpression($arg->value, null, null, $allConstInfos);
2366 $code .= $value->initializeZval($zvalName, $allConstInfos);
2453 * @param ConstInfo[] $allConstInfos
2455 public function getRegistration(iterable $allConstInfos): string argument
2525 $code .= $const->getDeclaration($allConstInfos);
2529 $code .= $enumCase->getDeclaration($allConstInfos);
2533 $code .= $property->getDeclaration($allConstInfos);
2542 …ribute->generateCode("zend_add_class_attribute(class_entry", "class_$escapedName", $allConstInfos);
2550 …itializationCode = generateAttributeInitialization($this->funcInfos, $allConstInfos, $this->cond))…
2638 public function getClassSynopsisDocument(array $classMap, iterable $allConstInfos): ?string { argument
2642 $classSynopsis = $this->getClassSynopsisElement($doc, $classMap, $allConstInfos);
2656 … getClassSynopsisElement(DOMDocument $doc, array $classMap, iterable $allConstInfos): ?DOMElement { argument
2746 $fieldSynopsisElement = $constInfo->getFieldSynopsisElement($doc, $allConstInfos);
2759 … $fieldSynopsisElement = $propertyInfo->getFieldSynopsisElement($doc, $allConstInfos);
3956 iterable $allConstInfos, argument
4010 …InitializationCode = generateAttributeInitialization($fileInfo->funcInfos, $allConstInfos, null)) {
4021 $code .= $constInfo->getDeclaration($allConstInfos);
4032 $code .= generateClassEntryCode($fileInfo, $allConstInfos);
4041 function generateClassEntryCode(FileInfo $fileInfo, iterable $allConstInfos): string { argument
4045 $code .= "\n" . $class->getRegistration($allConstInfos);
4081 function generateAttributeInitialization(iterable $funcInfos, iterable $allConstInfos, ?string $par… argument
4085 static function (FuncInfo $funcInfo) use ($allConstInfos) {
4096 … "\") - 1), $index", "{$funcInfo->name->getMethodSynopsisFilename()}_arg{$index}", $allConstInfos);
4208 function generateClassSynopses(array $classMap, iterable $allConstInfos): array { argument
4212 $classSynopsis = $classInfo->getClassSynopsisDocument($classMap, $allConstInfos);
4226 function replaceClassSynopses(string $targetDirectory, array $classMap, iterable $allConstInfos, bo… argument
4291 … $newClassSynopsis = $classInfo->getClassSynopsisElement($doc, $classMap, $allConstInfos);
4837 $classSynopses = generateClassSynopses($classMap, $context->allConstInfos);
4852 …$classSynopses = replaceClassSynopses($targetSynopses, $classMap, $context->allConstInfos, $verify…