Parses a function body
Node\BlockStatement[]|null
protected function parseFunctionBody() { $body = $this->isolateContext(array( "allowReturn" => true, ), "parseStatementList", array( true, )); $node = $this->createNode("BlockStatement", $body ?: $this->scanner ->getPosition()); if ($body) { $node->setBody($body); } return $this->completeNode($node); }