Lines Matching defs:channel
11 * Implements the `channel` lexer action by calling {@see Lexer::setChannel()}
12 * with the assigned channel.
19 private $channel;
22 * Constructs a new `channel` action with the specified channel value.
24 * @param int $channel The channel value to pass to {@see Lexer::setChannel()}.
26 public function __construct(int $channel)
28 $this->channel = $channel;
32 * Gets the channel to use for the {@see Token} created by the lexer.
34 * @return int The channel to use for the {@see Token} created by the lexer.
38 return $this->channel;
69 $lexer->channel = $this->channel;
74 return Hasher::hash($this->getActionType(), $this->channel);
87 return $this->channel === $other->channel;
92 return \sprintf('channel(%d)', $this->channel);