PHPCfg\Parser::parseStmt_Throw PHP Method

parseStmt_Throw() protected method

protected parseStmt_Throw ( PhpParser\Node\Stmt\Throw_ $node )
$node PhpParser\Node\Stmt\Throw_
    protected function parseStmt_Throw(Stmt\Throw_ $node)
    {
        $this->block->children[] = new Op\Terminal\Throw_($this->readVariable($this->parseExprNode($node->expr)), $this->mapAttributes($node));
        $this->block = new Block();
        // dead code
        $this->block->dead = true;
    }
Parser