Searched refs:body (Results 1 – 11 of 11) sorted by relevance
20 public $body; variable in PhpParser\\Node\\PropertyHook26 * @param null|Expr|Stmt[] $body Hook body38 public function __construct($name, $body, array $subNodes = [], array $attributes = []) { argument41 $this->body = $body;61 if ($this->body instanceof Expr) {62 return [new Return_($this->body)];64 return $this->body;
12 public Expr $body; variable in PhpParser\\Node\\MatchArm17 public function __construct(?array $conds, Node\Expr $body, array $attributes = []) { argument19 $this->body = $body;
9 $comment = 'closure body';13 $comment = 'closure body';17 $comment = 'closure body';20 $comment = 'closure body';
24 body: Scalar_String(34 body: Scalar_String(71 body: Scalar_String(112 body: Expr_BinaryOp_Plus(151 body: Scalar_String(157 body: Scalar_String(194 body: Scalar_String(200 body: Scalar_String(
59 body: array(77 body: array(157 body: null169 body: null197 body: array(231 body: array(471 body: null483 body: null495 body: null507 body: null[all …]
132 body: Expr_Variable(162 body: Scalar_Int(
43 Invalid body indentation level (expecting an indentation level of at least 5) from 14:6 to 18:844 Invalid body indentation level (expecting an indentation level of at least 1) from 20:1 to 22:445 Invalid body indentation level (expecting an indentation level of at least 2) from 25:1 to 26:046 Invalid body indentation level (expecting an indentation level of at least 1) from 30:1 to 30:447 Invalid body indentation level (expecting an indentation level of at least 1) from 34:1 to 35:0
51 $stmts[0]->stmts[0]->hooks[0]->body[] = new Stmt\Expression(new Expr\Variable('b'));91 $stmts[0]->stmts[0]->hooks[0]->body = [new Stmt\Return_(new Scalar\Int_(24))];114 $stmts[0]->stmts[0]->hooks[0]->body = new Scalar\Int_(24);115 $stmts[0]->stmts[1]->hooks[0]->body = [new Stmt\Return_(new Scalar\Int_(24))];
127 // Clean out the function body
697 * Support error recovery for functions without body (`function ($foo)`).
682 return $result . $this->p($node->body);849 . (\is_array($node->body) ? ' {' . $this->pStmts($node->body) . $this->nl . '}'850 : ($node->body !== null ? ' => ' . $this->p($node->body) : '') . ';');
Completed in 23 milliseconds