Home
last modified time | relevance | path

Searched refs:Expression (Results 1 – 25 of 28) sorted by relevance

12

/PHP-Parser/test/code/formatPreservation/
H A DlistInsertion.test8 $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 DblockConversion.test9 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('c'));
23 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('c'));
H A DclassMethodNop.test11 $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 DlistInsertionIndentation.test12 $stmts[2] = new Stmt\Expression(new Expr\MethodCall($var, $outerCall->name));
H A Dindent.test30 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('y'));
H A Dproperty_hooks.test51 $stmts[0]->stmts[0]->hooks[0]->body[] = new Stmt\Expression(new Expr\Variable('b'));
H A Dbasic.test121 $stmts[0] = new Stmt\Expression(
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DFirstFindingVisitorTest.php18 $stmts = [new Node\Stmt\Expression($assign)];
32 $stmts = [new Node\Stmt\Expression($assign)];
H A DFindingVisitorTest.php20 $stmts = [new Node\Stmt\Expression($assign)];
40 $stmts = [new Node\Stmt\Expression($assign)];
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DExpression.php10 class Expression extends Node\Stmt { class
/PHP-Parser/test/PhpParser/Builder/
H A DFunctionTest.php70 new Stmt\Expression($stmt1),
71 new Stmt\Expression($stmt2),
72 new Stmt\Expression($stmt3),
H A DMethodTest.php113 new Stmt\Expression($stmt1),
114 new Stmt\Expression($stmt2),
115 new Stmt\Expression($stmt3),
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php171 $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 DNodeFinderTest.php12 $stmts = [new Node\Stmt\Expression($assign)];
H A DParserTestAbstract.php124 $node = $stmts[0] instanceof Stmt\Expression ? $stmts[0]->expr : $stmts[0];
H A DBuilderHelpersTest.php31 $this->assertEquals(new Stmt\Expression($expr), $normalizedExpr);
H A DNodeTraverserTest.php429 $expr = new Node\Stmt\Expression($num);
/PHP-Parser/
H A DUPGRADE-4.0.md44 * Expression statements (`expr;`) are now represented using a `Stmt\Expression` node. Previously
H A DCHANGELOG.md121 * 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 DUPGRADE-5.0.md71 Now, `throw $e;` is represented as a `Stmt\Expression` that contains an `Expr\Throw_`. The
/PHP-Parser/lib/PhpParser/
H A DBuilderHelpers.php55 return new Stmt\Expression($node);
/PHP-Parser/doc/component/
H A DConstant_expression_evaluation.markdown97 "Expression of type {$expr->getType()} cannot be evaluated");
H A DWalking_the_AST.markdown164 if ($node instanceof Node\Stmt\Expression
201 new Node\Stmt\Expression(new Node\Expr\Assign($var, $node->expr)),
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown171 * `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 Dphp.y393 | expr semi { $$ = Stmt\Expression[$1]; }

Completed in 63 milliseconds

12