Executes a custom lexer action by calling {@link Recognizer#action} with therule and action indexes assigned to the custom action. The implementation of a custom action is added to the generated code for the lexer in an override of {@link Recognizer#action} when the grammar is compiled.
This class may represent embedded actions created with the {...}
syntax in ANTLR 4, as well as actions created for lexer commands where the command argument could not be evaluated when the grammar was compiled.
@author Sam Harwell
@since 4.2