PHPCfg\Parser::parseStmt_Interface PHP Method

parseStmt_Interface() protected method

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