Home
last modified time | relevance | path

Searched refs:uses (Results 1 – 25 of 32) sorted by relevance

12

/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DUse_.php25 public array $uses; variable in PhpParser\\Node\\Stmt\\Use_
30 * @param UseItem[] $uses Aliases
34 … public function __construct(array $uses, int $type = self::TYPE_NORMAL, array $attributes = []) { argument
37 $this->uses = $uses;
H A DGroupUse.php17 public array $uses; variable in PhpParser\\Node\\Stmt\\GroupUse
23 * @param UseItem[] $uses Uses
27 …public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attri… argument
31 $this->uses = $uses;
/PHP-Parser/test/code/parser/stmt/namespace/
H A Dalias.test22 uses: array(
34 uses: array(
48 uses: array(
69 uses: array(
84 uses: array(
98 uses: array(
113 uses: array(
127 uses: array(
139 uses: array(
H A DgroupUse.test17 uses: array(
32 uses: array(
54 uses: array(
76 uses: array(
98 uses: array(
120 uses: array(
H A DgroupUseTrailingComma.test13 uses: array(
28 uses: array(
H A DgroupUseErrors.test15 uses: array(
33 uses: array(
53 uses: array(
H A DinvalidName.test9 uses: array(
29 uses: array(
H A DgroupUsePositions.test13 uses: array(
/PHP-Parser/.github/workflows/
H A Dmain.yml13 uses: "actions/checkout@v4"
15 uses: "shivammathur/setup-php@v2"
45 uses: "actions/checkout@v4"
47 uses: "shivammathur/setup-php@v2"
62 uses: "actions/checkout@v4"
64 uses: "shivammathur/setup-php@v2"
79 uses: "actions/checkout@v4"
81 uses: "shivammathur/setup-php@v2"
96 uses: "actions/checkout@v4"
98 uses: "shivammathur/setup-php@v2"
[all …]
/PHP-Parser/test/code/parser/expr/
H A Dclosure.test35 uses: array(
69 uses: array(
90 uses: array(
131 uses: array(
146 uses: array(
175 uses: array(
192 uses: array(
H A Dclosure_use_trailing_comma.test15 uses: array(
/PHP-Parser/lib/PhpParser/Builder/
H A DTrait_.php13 protected array $uses = []; variable in PhpParser\\Builder\\Trait_
47 $this->uses[] = $stmt;
78 … 'stmts' => array_merge($this->uses, $this->constants, $this->properties, $this->methods),
H A DEnum_.php18 protected array $uses = []; variable in PhpParser\\Builder\\Enum_
80 $this->uses[] = $stmt;
112 'stmts' => array_merge($this->uses, $this->enumCases, $this->constants, $this->methods),
H A DClass_.php19 protected array $uses = []; variable in PhpParser\\Builder\\Class_
114 $this->uses[] = $stmt;
147 … 'stmts' => array_merge($this->uses, $this->constants, $this->properties, $this->methods),
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DClosure.php18 public array $uses; variable in PhpParser\\Node\\Expr\\Closure
52 $this->uses = $subNodes['uses'] ?? [];
/PHP-Parser/test/code/prettyPrinter/stmt/
H A DtraitUse.test1 Trait uses and adaptations
/PHP-Parser/
H A DCONTRIBUTING.md3 This project uses PSR-12 with consistent brace placement. This means that the opening brace is
8 This project uses PHP-CS-Fixer and PHPStan. You can invoke them using `make`:
H A DUPGRADE-4.0.md28 * `Expr\StaticPropertyFetch::$name` (uses `VarLikeIdentifier`)
37 * `Stmt\PropertyProperty::$name` (uses `VarLikeIdentifier`)
/PHP-Parser/tools/fuzzing/
H A Dtarget.php88 if ($node instanceof Stmt\Use_ && $node->uses[0]->name->isUnqualified() &&
89 $this->tokens[$node->uses[0]->name->getStartTokenPos()]->is(\T_NAME_FULLY_QUALIFIED)
/PHP-Parser/test/code/formatPreservation/
H A DemptyListInsertion.test44 $stmts[2]->expr->uses[] = new Node\Expr\Variable('c');
45 $stmts[2]->expr->uses[] = new Node\Expr\Variable('d');
/PHP-Parser/test/code/parser/stmt/
H A Dattributes.test264 uses: array(
325 uses: array(
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test441 uses: array(
453 uses: array(
468 uses: array(
594 uses: array(
609 uses: array(
621 uses: array(
1210 uses: array(
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php59 foreach ($node->uses as $use) {
63 foreach ($node->uses as $use) {
/PHP-Parser/test/code/parser/expr/uvs/
H A DindirectCall.test218 uses: array(
298 uses: array(
/PHP-Parser/doc/component/
H A DPerformance.markdown26 the AST uses recursion and will generate an error if the value of this option is too low.

Completed in 149 milliseconds

12