Home
last modified time | relevance | path

Searched refs:p (Results 1 – 7 of 7) sorted by relevance

/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php25 . $this->p($node->var)
33 . $this->p($node->value);
45 return '?' . $this->p($node->type);
55 $types[] = $this->p($typeNode);
73 return $this->p($node->name)
632 return $this->p($node->name);
1005 return $this->p($node->var)
1131 return $this->p($node);
1139 return $this->p($node);
1147 return $this->p($node);
[all …]
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php281 return $this->handleMagicTokens($this->p($node));
299 $p = preg_replace('/^<\?php\s+\?>\r?\n?/', '', $p);
302 $p = preg_replace('/<\?php$/', '', rtrim($p));
305 return $p;
363 $result .= $this->nl . $this->p($node);
471 $pNodes[] = $this->p($node);
511 $result .= $this->nl . $this->p($node);
600 protected function p( function in PhpParser\\PrettyPrinterAbstract
1066 return '(' . $this->p($subNode) . ')';
1095 . '{' . $this->p($subNode) . '}';
[all …]
H A DNodeDumper.php75 if ($this->dumpPositions && null !== $p = $this->dumpPosition($node)) {
76 $this->res .= $p;
/PHP-Parser/test/code/formatPreservation/
H A Dattributes.test7 public function m(#[A] & $p) {}
53 public function m(#[A] #[B] & $p) {}
/PHP-Parser/grammar/
H A Dparser.template25 class #(-p) extends \PhpParser\ParserAbstract
/PHP-Parser/
H A DUPGRADE-5.0.md404 … precedence is now handled differently in the pretty printer. The internal `p()` method, which is …
406 protected function p(
414 Recursive calls in pretty-printer methods should generally continue calling `p()` without additiona…
H A DCHANGELOG.md924 into `p()`, instead of directly dispatching to the type-specific printing method).

Completed in 20 milliseconds