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

Method expect

packages/cli/src/cli/loaders/xcode-strings/parser.ts:95–101  ·  view source on GitHub ↗
(type: TokenType)

Source from the content-addressed store, hash-verified

93 }
94
95 private expect(type: TokenType): boolean {
96 if (this.current()?.type === type) {
97 this.advance();
98 return true;
99 }
100 return false;
101 }
102}

Callers 1

parseEntryMethod · 0.95

Calls 2

currentMethod · 0.95
advanceMethod · 0.95

Tested by

no test coverage detected