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

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

protected parseStmt_Global ( PhpParser\Node\Stmt\Global_ $node )
$node PhpParser\Node\Stmt\Global_
    protected function parseStmt_Global(Stmt\Global_ $node)
    {
        foreach ($node->vars as $var) {
            // TODO $var is not necessarily a Variable node
            $this->block->children[] = new Op\Terminal\GlobalVar($this->writeVariable($this->parseExprNode($var->name)), $this->mapAttributes($node));
        }
    }
Parser