Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/
H A DNodeTraverser.php95 $subNode = $node->$name;
97 if (\is_array($subNode)) {
98 $node->$name = $this->traverseArray($subNode);
102 } elseif ($subNode instanceof Node) {
107 $return = $visitor->enterNode($subNode);
110 $this->ensureReplacementReasonable($subNode, $return);
111 $subNode = $node->$name = $return;
132 $this->traverseNode($subNode);
140 $return = $visitor->leaveNode($subNode);
144 $this->ensureReplacementReasonable($subNode, $return);
[all …]
H A DPrettyPrinterAbstract.php646 $subNode = $node->$subNodeName;
649 if ((!$subNode instanceof Node && $subNode !== null)
652 if ($subNode === $origSubNode) {
678 $result .= $this->$printFn($subNode);
690 if ($subNode === null) {
716 if (null === $subNode) {
735 if (null !== $subNode) {
1034 * @param Node $subNode Subnode to print
1091 if ($subNode instanceof Expr
1095 . '{' . $this->p($subNode) . '}';
[all …]
H A DJsonDecoder.php61 foreach ($value as $name => $subNode) {
66 $node->$name = $this->decodeRecursive($subNode);
/PHP-Parser/test/PhpParser/
H A DNodeAbstractTest.php128 $subNode = &$node->subNode1;
129 $subNode = 'newNewValue';

Completed in 10 milliseconds