Lines Matching refs:node
526 $node = $this->context()->addErrorNode($this->createErrorNode($this->context(), $o));
529 if ($node instanceof ErrorNode) {
530 $listener->visitErrorNode($node);
534 $node = $this->context()->addTerminalNode($this->createTerminalNode($this->context(), $o));
537 if ($node instanceof TerminalNode) {
538 $listener->visitTerminal($node);
548 * How to create a token leaf node associated with a parent.
550 * Typically, the terminal node to create is not a function of the parent.
557 /** How to create an error node, given a token, associated with a parent.
558 * Typically, the error node to create is not a function of the parent.
604 $this->context()->stop = $this->tokenStream()->LT(-1); // stop node is what we just matched