Searched refs:nodes (Results 26 – 35 of 35) sorted by relevance
12
46 public function beforeTraverse(array $nodes): void { argument
1 Removing from list nodes
1 Insertion into list nodes
58 The partial AST may contain `Expr\Error` nodes that indicate that an error occurred while parsing a…
87 independent context and explicitly feed `Namespace` and `Use` nodes to it.
65 positioning attributes to allow mapping nodes back to lines, tokens or file offsets:
1162 * @param Node[] $nodes1164 protected function hasNodeWithComments(array $nodes): bool { argument1165 foreach ($nodes as $node) {1173 /** @param Node[] $nodes */1174 protected function pMaybeMultiline(array $nodes, bool $trailingComma = false): string { argument1175 if (!$this->hasNodeWithComments($nodes)) {1176 return $this->pCommaSeparated($nodes);1178 return $this->pCommaSeparatedMultiline($nodes, $trailingComma) . $this->nl;1183 protected function pAttrGroups(array $nodes, bool $inline = false): string { argument1186 foreach ($nodes as $node) {
50 public function beforeTraverse(array $nodes): ?array { argument
212 * Fluent builders for AST nodes
124 …message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) has parameter \\$nodes with…
Completed in 18 milliseconds