@uml Constructs a new {@code type} action with the specified token type value. @param type The type to assign to the token using {@link Lexer#setType}.
@uml {@inheritDoc}
@uml {@inheritDoc} @return This method returns {@link LexerActionType#TYPE}. @safe @nothrow
@uml Gets the type to assign to a token created by the lexer. @return The type to assign to a token created by the lexer.
@uml {@inheritDoc} @return This method returns {@code false}.
@uml @safe @nothrow @override
@uml @override
Gets the serialization type of the lexer action.
Gets whether the lexer action is position-dependent. Position-dependent actions may have different semantics depending on the {@link CharStream} index at the time the action is executed.
Execute the lexer action in the context of the specified {@link Lexer}.
@uml @nothrow
@uml Implements the {@code type} lexer action by calling {@link Lexer#setType} with the assigned type.