Lines Matching refs:result
24 * The default implementation initializes the aggregate result to
27 * if the result is `false` no more children are visited and the current
28 * aggregate result is returned. After visiting a child, the aggregate
29 * result is updated by calling {@see AbstractParseTreeVisitor::aggregateResult()}
30 * with the previous aggregate result and the result of visiting the child.
40 $result = $this->defaultResult();
45 if (!$this->shouldVisitNextChild($node, $result)) {
54 $result = $this->aggregateResult($result, $childResult);
57 return $result;
63 * The default implementation returns the result of
76 * The default implementation returns the result of
92 * initializes its aggregate result to this value.
107 * the aggregate value is returned as the result of
111 * {@see AbstractParseTreeVisitor::visitChildren()} will return the result
120 * @param mixed $nextResult The result of the immediately preceeding call to
141 * evaluation option for situations where the result of visiting a single
142 * child has the potential to determine the result of the visit operation as
147 * @param mixed $currentResult The current aggregate result of the children
152 * aggregate result from {@see AbstractParseTreeVisitor::visitChildren()}.