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

Method consume_required_token

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

Source from the content-addressed store, hash-verified

9935
9936template <url_pattern_encoding_callback F>
9937bool url_pattern_parser<F>::consume_required_token(token_type type) {
9938 ada_log("url_pattern_parser::consume_required_token called with type=",
9939 to_string(type));
9940 // Let result be the result of running try to consume a token given parser and
9941 // type.
9942 return try_consume_token(type) != nullptr;
9943}
9944
9945template <url_pattern_encoding_callback F>
9946std::optional<errors>

Callers 1

parse_pattern_stringFunction · 0.80

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected