/PHP-Parser/test/PhpParser/ |
H A D | NodeFinderTest.php | 13 $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 D | Isset_.php | 9 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 D | Static_.php | 10 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 D | Global_.php | 9 public array $vars; variable in PhpParser\\Node\\Stmt\\Global_ 17 public function __construct(array $vars, array $attributes = []) { argument 19 $this->vars = $vars;
|
H A D | Unset_.php | 9 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 D | unset.test | 10 vars: array( 17 vars: array(
|
H A D | newInInitializer.test | 66 vars: array(
|
/PHP-Parser/test/code/parser/expr/uvs/ |
H A D | isset.test | 12 vars: array( 49 vars: array( 74 vars: array(
|
H A D | globalNonSimpleVarError.test | 9 vars: array(
|
/PHP-Parser/test/code/parser/expr/ |
H A D | exprInIsset.test | 12 vars: array( 27 vars: array(
|
H A D | issetAndEmpty.test | 14 vars: array( 23 vars: array(
|
H A D | trailingCommas.test | 120 vars: array( 131 vars: array(
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | specialVars.test | 23 vars: array( 40 vars: array(
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | removalViaNull.test | 117 $stmts[14]->vars[0]->default = null;
|
H A D | insertionOfNullable.test | 95 $stmts[12]->vars[0]->default = new Scalar\String_('abc');
|
/PHP-Parser/test/code/parser/errorHandling/ |
H A D | recovery.test | 522 vars: array( 737 vars: array( 745 vars: array( 766 vars: array( 773 vars: array(
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 552 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 D | UPGRADE-3.0.md | 21 * The `List` subnode `vars` has been renamed to `items` and now contains `ArrayItem`s instead of
|
H A D | CHANGELOG.md | 1059 * [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
|