MCPcopy Create free account
hub / github.com/NativeScript/android / try_consume_modifier_token

Method try_consume_modifier_token

test-app/runtime/src/main/cpp/ada/ada.h:9872–9882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9870
9871template <url_pattern_encoding_callback F>
9872token* 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
9884template <url_pattern_encoding_callback F>
9885token* url_pattern_parser<F>::try_consume_regexp_or_wildcard_token(

Callers 1

parse_pattern_stringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected