MCPcopy Index your code
hub / github.com/outerbase/studio / expectTokenOptional

Method expectTokenOptional

src/drivers/sqlite/sql-parse-table.ts:98–100  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

96 }
97
98 expectTokenOptional(value: string) {
99 if (this.match(value)) this.next();
100 }
101
102 expectTokensOptional(values: string[]) {
103 if (values.length === 0) return;

Callers 3

parseCreateTriggerScriptFunction · 0.95
parseCreateViewScriptFunction · 0.95
parseCreateTableScriptFunction · 0.95

Calls 2

matchMethod · 0.95
nextMethod · 0.95

Tested by

no test coverage detected