MCPcopy Index your code
hub / github.com/lingodotdev/lingo.dev / pull

Function pull

packages/cli/src/cli/loaders/xcode-strings.ts:12–22  ·  view source on GitHub ↗
(locale, input)

Source from the content-addressed store, hash-verified

10> {
11 return createLoader({
12 async pull(locale, input) {
13 // Tokenize the input
14 const tokenizer = new Tokenizer(input);
15 const tokens = tokenizer.tokenize();
16
17 // Parse tokens into key-value pairs
18 const parser = new Parser(tokens);
19 const result = parser.parse();
20
21 return result;
22 },
23
24 async push(locale, payload) {
25 const lines = Object.entries(payload)

Callers

nothing calls this directly

Calls 2

tokenizeMethod · 0.95
parseMethod · 0.95

Tested by

no test coverage detected