Home
last modified time | relevance | path

Searched refs:vars (Results 1 – 19 of 19) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNodeFinderTest.php13 $vars = [$assign->var, $assign->expr->left, $assign->expr->right];
14 return [$stmts, $vars];
19 list($stmts, $vars) = $this->getStmtsAndVars();
23 $this->assertSame($vars, $finder->find($stmts, $varFilter));
24 $this->assertSame($vars, $finder->find($stmts[0], $varFilter));
34 list($stmts, $vars) = $this->getStmtsAndVars();
35 $this->assertSame($vars, $finder->findInstanceOf($stmts, Expr\Variable::class));
42 list($stmts, $vars) = $this->getStmtsAndVars();
46 $this->assertSame($vars[0], $finder->findFirst($stmts, $varFilter));
47 $this->assertSame($vars[0], $finder->findFirst($stmts[0], $varFilter));
[all …]
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DIsset_.php9 public array $vars; variable in PhpParser\\Node\\Expr\\Isset_
14 * @param Expr[] $vars Variables
17 public function __construct(array $vars, array $attributes = []) { argument
19 $this->vars = $vars;
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DStatic_.php10 public array $vars; variable in PhpParser\\Node\\Stmt\\Static_
15 * @param StaticVar[] $vars Variable definitions
18 public function __construct(array $vars, array $attributes = []) { argument
20 $this->vars = $vars;
H A DGlobal_.php9 public array $vars; variable in PhpParser\\Node\\Stmt\\Global_
17 public function __construct(array $vars, array $attributes = []) { argument
19 $this->vars = $vars;
H A DUnset_.php9 public array $vars; variable in PhpParser\\Node\\Stmt\\Unset_
17 public function __construct(array $vars, array $attributes = []) { argument
19 $this->vars = $vars;
/PHP-Parser/test/code/parser/stmt/
H A Dunset.test10 vars: array(
17 vars: array(
H A DnewInInitializer.test66 vars: array(
/PHP-Parser/test/code/parser/expr/uvs/
H A Disset.test12 vars: array(
49 vars: array(
74 vars: array(
H A DglobalNonSimpleVarError.test9 vars: array(
/PHP-Parser/test/code/parser/expr/
H A DexprInIsset.test12 vars: array(
27 vars: array(
H A DissetAndEmpty.test14 vars: array(
23 vars: array(
H A DtrailingCommas.test120 vars: array(
131 vars: array(
/PHP-Parser/test/code/parser/stmt/function/
H A DspecialVars.test23 vars: array(
40 vars: array(
/PHP-Parser/test/code/formatPreservation/
H A DremovalViaNull.test117 $stmts[14]->vars[0]->default = null;
H A DinsertionOfNullable.test95 $stmts[12]->vars[0]->default = new Scalar\String_('abc');
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test522 vars: array(
737 vars: array(
745 vars: array(
766 vars: array(
773 vars: array(
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php552 return 'isset(' . $this->pCommaSeparated($node->vars) . ')';
997 return 'static ' . $this->pCommaSeparated($node->vars) . ';';
1001 return 'global ' . $this->pCommaSeparated($node->vars) . ';';
1010 return 'unset(' . $this->pCommaSeparated($node->vars) . ');';
/PHP-Parser/
H A DUPGRADE-3.0.md21 * The `List` subnode `vars` has been renamed to `items` and now contains `ArrayItem`s instead of
H A DCHANGELOG.md1059 * [7.1] Added support for keys in list() destructuring. The `List` subnode `vars` has been renamed
1073 * The `List` subnode `vars` has been renamed to `items` and now contains `ArrayItem`s instead of

Completed in 41 milliseconds