MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / cjk_string_literal

Function cjk_string_literal

nodedb-query/src/expr_parse/tokenizer.rs:188–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186
187 #[test]
188 fn cjk_string_literal() {
189 let tokens = tokenize("'你好' || name").unwrap();
190 assert_eq!(tokens.len(), 3);
191 assert_eq!(tokens[0].kind, TokenKind::StringLit);
192 assert_eq!(tokens[0].text, "你好");
193 }
194
195 #[test]
196 fn emoji_string_literal() {

Callers

nothing calls this directly

Calls 1

tokenizeFunction · 0.70

Tested by

no test coverage detected