MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / Tokenizer

Method Tokenizer

src/common/string_utils.h:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24template <typename IsDelimiterType> class Tokenizer {
25public:
26 Tokenizer(const std::wstring_view &target, const IsDelimiterType &is_delimiter, bool split_camel_case)
27 : m_target(target), m_is_delimiter(is_delimiter), m_split_camel_case(split_camel_case) {
28 }
29
30 std::vector<std::wstring_view> get_all_tokens() const {
31 int token_begin = 0, token_end = -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected