PHPCfg\Parser::parseStmt_Class PHP Метод

parseStmt_Class() защищенный Метод

protected parseStmt_Class ( Class_ $node )
$node PhpParser\Node\Stmt\Class_
    protected function parseStmt_Class(Stmt\Class_ $node)
    {
        $name = $this->parseExprNode($node->namespacedName);
        $old = $this->currentClass;
        $this->currentClass = $name;
        $this->block->children[] = new Op\Stmt\Class_($name, $node->type, $this->parseExprNode($node->extends), $this->parseExprList($node->implements), $this->parseNodes($node->stmts, new Block()), $this->mapAttributes($node));
        $this->currentClass = $old;
    }
Parser