protected function parseStmt_Function(Stmt\Function_ $node)
{
$this->script->functions[] = $func = new Func($node->namespacedName->toString(), $node->byRef ? Func::FLAG_RETURNS_REF : 0, $this->parseExprNode($node->returnType), null);
$this->parseFunc($func, $node->params, $node->stmts, null);
$this->block->children[] = $function = new Op\Stmt\Function_($func, $this->mapAttributes($node));
$func->callableOp = $function;
}