Lines Matching refs:action
11 * Executes a custom lexer action by calling {@see Recognizer::action()} with the
12 * rule and action indexes assigned to the custom action. The implementation of
13 * a custom action is added to the generated code for the lexer in an override
14 * of {@see Recognizer::action()} when the grammar is compiled.
31 * Constructs a custom lexer action with the specified rule and action
35 * {@see Recognizer::action()}.
36 * @param int $actionIndex The action index to use for calls to
37 * {@see Recognizer::action()}.
46 * Gets the rule index to use for calls to {@see Recognizer::action()}.
48 * @return int The rule index for the custom action.
56 * Gets the action index to use for calls to {@see Recognizer::action()}.
58 * @return int The action index for the custom action.
76 * Gets whether the lexer action is position-dependent. Position-dependent
78 * index at the time the action is executed.
81 * user-defined embedded action which makes calls to methods like
94 * Custom actions are implemented by calling {@see Lexer::action()} with the
95 * appropriate rule and action indexes.
99 $lexer->action(null, $this->ruleIndex, $this->actionIndex);