Lines Matching refs:channel
327 protected function nextTokenOnChannel(int $i, int $channel) : int argument
336 while ($token->getChannel() !== $channel) {
360 protected function previousTokenOnChannel(int $i, int $channel) : int argument
362 while ($i >= 0 && $this->tokens[$i]->getChannel() !== $channel) {
376 public function getHiddenTokensToRight(int $tokenIndex, int $channel) : ?array argument
389 return $this->filterForChannel($from_, $to, $channel);
399 public function getHiddenTokensToLeft(int $tokenIndex, int $channel) : ?array argument
417 return $this->filterForChannel($from, $to, $channel);
423 protected function filterForChannel(int $left, int $right, int $channel) : ?array argument
429 if ($channel === -1) {
433 } elseif ($t->getChannel() === $channel) {