Home
last modified time | relevance | path

Searched refs:scalarType (Results 1 – 6 of 6) sorted by relevance

/PHP-Parser/lib/PhpParser/Builder/
H A DEnum_.php14 protected ?Identifier $scalarType = null; variable in PhpParser\\Builder\\Enum_
40 * @param string|Identifier $scalarType
44 public function setScalarType($scalarType) { argument
45 $this->scalarType = BuilderHelpers::normalizeType($scalarType);
110 'scalarType' => $this->scalarType,
/PHP-Parser/test/code/parser/stmt/class/
H A Denum.test21 scalarType: null
41 scalarType: null
59 scalarType: Identifier(
H A Denum_with_string.test20 scalarType: Identifier(
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DEnum_.php9 public ?Node $scalarType; variable in PhpParser\\Node\\Stmt\\Enum_
29 $this->scalarType = $subNodes['scalarType'] ?? null;
/PHP-Parser/test/code/formatPreservation/
H A Denum.test7 $stmts[0]->scalarType = null;
31 $stmts[0]->scalarType = new Node\Identifier('int');
42 $stmts[0]->scalarType = new Node\Identifier('int');
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php789 . ($node->scalarType ? ' : ' . $this->p($node->scalarType) : '')

Completed in 10 milliseconds