MCPcopy Index your code
hub / github.com/JavaScriptRegenerated/yieldparser / Parser

Method Parser

src/media-query.test.ts:203–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 }
202
203 static *Parser() {
204 yield optionalWhitespace;
205 yield '(';
206 yield optionalWhitespace;
207 const any: boolean = yield has('any-');
208 yield 'pointer:';
209 yield optionalWhitespace;
210 const hover: 'none' | 'coarse' | 'fine' = yield ['none', 'coarse', 'fine'];
211 yield optionalWhitespace;
212 yield ')';
213 return new ParsedPointer(hover, any ? 'any' : undefined);
214 }
215}
216
217/**

Callers

nothing calls this directly

Calls 1

hasFunction · 0.90

Tested by

no test coverage detected