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

Method add_token_with_default_length

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

Source from the content-addressed store, hash-verified

9833}
9834
9835inline void Tokenizer::add_token_with_default_length(token_type type,
9836 size_t next_position,
9837 size_t value_position) {
9838 // Let computed length be next position - value position.
9839 auto computed_length = next_position - value_position;
9840 // Run add a token given tokenizer, type, next position, value position, and
9841 // computed length.
9842 add_token(type, next_position, value_position, computed_length);
9843}
9844
9845inline void Tokenizer::add_token_with_defaults(token_type type) {
9846 ada_log("Tokenizer::add_token_with_defaults called with type=",

Callers 1

tokenizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected