Use a lexactions option value to instantiate a lexer object whenever needed