Lines Matching refs:action
14 * This action is not serialized as part of the ATN, and is only required for
28 private $action;
31 * Constructs a new indexed custom action by associating a character offset
39 * the specified lexer action should be executed.
40 * @param LexerAction $action The lexer action to execute at a particular
43 public function __construct(int $offset, LexerAction $action)
46 $this->action = $action;
51 * action should be executed. The value is interpreted as an offset relative
55 * action should be executed.
63 * Gets the lexer action to execute.
65 * @return LexerAction A {@see LexerAction} object which executes the lexer action.
69 return $this->action;
82 return $this->action->getActionType();
104 $this->action->execute($lexer);
109 return Hasher::hash($this->getActionType(), $this->offset, $this->action);
123 && $this->action->equals($other->action);