Lines Matching refs:mode
13 private $mode;
16 * Constructs a new `mode` action with the specified mode value.
18 * @param int $mode The mode value to pass to {@see Lexer::mode()}.
20 public function __construct(int $mode)
22 $this->mode = $mode;
26 * Get the lexer mode this action should transition the lexer to.
28 * @return int The lexer mode for this `mode` command.
32 return $this->mode;
58 * This action is implemented by calling {@see Lexer::mode()} with the
63 $lexer->mode($this->mode);
68 return Hasher::hash($this->getActionType(), $this->mode);
81 return $this->mode === $other->mode;
86 return \sprintf('mode(%d)', $this->mode);