private function collectLiteral(ASTNode $node) { $variable = '$' . trim($node->getImage(), '\''); if (!isset($this->images[$variable])) { $this->images[$variable] = array(); } $this->images[$variable][] = $node; }