Home
last modified time | relevance | path

Searched refs:origNode (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DCloningVisitor.php14 public function enterNode(Node $origNode) { argument
15 $node = clone $origNode;
16 $node->setAttribute('origNode', $origNode);
/PHP-Parser/test/code/formatPreservation/
H A DrewriteVariableInterpolationString.test6 $stmts[0]->expr->parts[0]->setAttribute('origNode', null);
H A DinlineHtml.test9 $stmts[0]->setAttribute('origNode', null);
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php610 $origNode = $node->getAttribute('origNode');
611 if (null === $origNode) {
616 \assert($class === \get_class($origNode));
618 $startPos = $origNode->getStartTokenPos();
619 $endPos = $origNode->getEndTokenPos();
625 assert($origNode instanceof Expr\New_);
627 $origNode = PrintableNewAnonClassNode::fromNewNode($origNode);
647 $origSubNode = $origNode->$subNodeName;

Completed in 10 milliseconds