| 9870 | |
| 9871 | template <url_pattern_encoding_callback F> |
| 9872 | token* url_pattern_parser<F>::try_consume_modifier_token() { |
| 9873 | // Let token be the result of running try to consume a token given parser and |
| 9874 | // "other-modifier". |
| 9875 | auto token = try_consume_token(token_type::OTHER_MODIFIER); |
| 9876 | // If token is not null, then return token. |
| 9877 | if (token) return token; |
| 9878 | // Set token to the result of running try to consume a token given parser and |
| 9879 | // "asterisk". |
| 9880 | // Return token. |
| 9881 | return try_consume_token(token_type::ASTERISK); |
| 9882 | } |
| 9883 | |
| 9884 | template <url_pattern_encoding_callback F> |
| 9885 | token* url_pattern_parser<F>::try_consume_regexp_or_wildcard_token( |
no outgoing calls
no test coverage detected