Searched refs:Expression (Results 1 – 25 of 28) sorted by relevance
12
/PHP-Parser/test/code/formatPreservation/ |
H A D | listInsertion.test | 8 $stmts[] = new Stmt\Expression(new Expr\Variable('baz')); 114 $node = new Stmt\Expression(new Expr\Variable('baz')); 128 $node = new Stmt\Expression(new Expr\Variable('baz')); 155 $node = new Stmt\Expression(new Expr\Variable('baz')); 169 $node = new Stmt\Expression(new Expr\Variable('baz')); 187 $node = new Stmt\Expression(new Expr\Variable('baz')); 207 $node = new Stmt\Expression(new Expr\Variable('baz')); 250 new Stmt\Expression(new Expr\Variable('a')), 251 new Stmt\Expression(new Expr\Variable('b'))); 267 new Stmt\Expression(new Expr\Variable('a')), [all …]
|
H A D | blockConversion.test | 9 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('c')); 23 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('c'));
|
H A D | classMethodNop.test | 11 $stmts[0]->stmts[0]->stmts[] = new Stmt\Expression(new Node\Expr\Variable('foo')); 30 $stmts[0]->stmts[0]->stmts[] = new Stmt\Expression(new Node\Expr\Variable('foo'));
|
H A D | listInsertionIndentation.test | 12 $stmts[2] = new Stmt\Expression(new Expr\MethodCall($var, $outerCall->name));
|
H A D | indent.test | 30 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('y'));
|
H A D | property_hooks.test | 51 $stmts[0]->stmts[0]->hooks[0]->body[] = new Stmt\Expression(new Expr\Variable('b'));
|
H A D | basic.test | 121 $stmts[0] = new Stmt\Expression(
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | FirstFindingVisitorTest.php | 18 $stmts = [new Node\Stmt\Expression($assign)]; 32 $stmts = [new Node\Stmt\Expression($assign)];
|
H A D | FindingVisitorTest.php | 20 $stmts = [new Node\Stmt\Expression($assign)]; 40 $stmts = [new Node\Stmt\Expression($assign)];
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Expression.php | 10 class Expression extends Node\Stmt { class
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | FunctionTest.php | 70 new Stmt\Expression($stmt1), 71 new Stmt\Expression($stmt2), 72 new Stmt\Expression($stmt3),
|
H A D | MethodTest.php | 113 new Stmt\Expression($stmt1), 114 new Stmt\Expression($stmt2), 115 new Stmt\Expression($stmt3),
|
/PHP-Parser/test/PhpParser/ |
H A D | PrettyPrinterTest.php | 171 $stmts = [new Stmt\Expression( 181 $stmts = [new Stmt\Expression( 278 new Stmt\Expression(new String_('Test', [ 282 new Stmt\Expression(new String_('Test 2', [ 286 new Stmt\Expression(new InterpolatedString([new InterpolatedStringPart('Test 3')], [
|
H A D | NodeFinderTest.php | 12 $stmts = [new Node\Stmt\Expression($assign)];
|
H A D | ParserTestAbstract.php | 124 $node = $stmts[0] instanceof Stmt\Expression ? $stmts[0]->expr : $stmts[0];
|
H A D | BuilderHelpersTest.php | 31 $this->assertEquals(new Stmt\Expression($expr), $normalizedExpr);
|
H A D | NodeTraverserTest.php | 429 $expr = new Node\Stmt\Expression($num);
|
/PHP-Parser/ |
H A D | UPGRADE-4.0.md | 44 * Expression statements (`expr;`) are now represented using a `Stmt\Expression` node. Previously
|
H A D | CHANGELOG.md | 121 * Removed `Stmt\Throw_` node, use `Expr\Throw_` inside `Stmt\Expression` instead. 797 * Expression statements (`expr;`) are now represented using a `Stmt\Expression` node. Previously
|
H A D | UPGRADE-5.0.md | 71 Now, `throw $e;` is represented as a `Stmt\Expression` that contains an `Expr\Throw_`. The
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderHelpers.php | 55 return new Stmt\Expression($node);
|
/PHP-Parser/doc/component/ |
H A D | Constant_expression_evaluation.markdown | 97 "Expression of type {$expr->getType()} cannot be evaluated");
|
H A D | Walking_the_AST.markdown | 164 if ($node instanceof Node\Stmt\Expression 201 new Node\Stmt\Expression(new Node\Expr\Assign($var, $node->expr)),
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 171 * `Stmt_Expression -> PhpParser\Node\Stmt\Expression` 193 The `Node\Stmt\Expression` node is somewhat confusing in that it contains both the terms "statement" 195 an "expression statement" represented by `Node\Stmt\Expression` and containing `expr` as a sub-node.
|
/PHP-Parser/grammar/ |
H A D | php.y | 393 | expr semi { $$ = Stmt\Expression[$1]; }
|
Completed in 73 milliseconds
12