Home
last modified time | relevance | path

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

/PHP-Parser/test/PhpParser/
H A DNodeVisitorForTesting.php7 private $returns; variable in PhpParser\\NodeVisitorForTesting
10 public function __construct(array $returns = []) { argument
11 $this->returns = $returns;
33 if ($this->returnsPos < count($this->returns)) {
34 $currentReturn = $this->returns[$this->returnsPos];
44 if ($this->returnsPos !== count($this->returns)) {
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown307 * If *any* visitor returns `DONT_TRAVERSE_CHILDREN`, the children will be skipped for *all*
309 …* If *any* visitor returns `DONT_TRAVERSE_CURRENT_AND_CHILDREN`, the children will be skipped for …
311 * If *any* visitor returns `STOP_TRAVERSAL`, traversal is stopped for *all* visitors.
312 * If a visitor returns a replacement node, subsequent visitors will be passed the replacement node,
314 * If a visitor returns `REMOVE_NODE`, subsequent visitors will not see this node.
315 * If a visitor returns `REPLACE_WITH_NULL`, subsequent visitors will not see this node.
316 * If a visitor returns an array of replacement nodes, subsequent visitors will see neither the node
H A DLexer.markdown40 The `Lexer::tokenize()` method returns an array of `PhpParser\Token`s. The most important parts of …
/PHP-Parser/
H A DUPGRADE-3.0.md159 * The `Name::slice()` method now returns `null` for empty slices, previously `new Name([])` was
H A DCHANGELOG.md179 than an array of parts separated by namespace separators. The `getParts()` method returns the old
330 callable and returns `Arg[]` rather than `array<Arg|VariadicPlaceholder>`.
1009 * The `Name::slice()` method now returns `null` for empty slices, previously `new Name([])` was
1139 * The protected `AbstractPrettyPrinter::pComments()` method no longer returns a trailing newline.
H A DUPGRADE-5.0.md493 The lexer API is reduced to a single `Lexer::tokenize()` method, which returns an array of tokens. …
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown202 All nodes also define a `getType()` method that returns the node type. The type is the class name

Completed in 11 milliseconds