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

Method Parser

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

Source from the content-addressed store, hash-verified

51 }
52
53 static *Parser() {
54 yield optionalWhitespace;
55 yield optional(() => ['only', requiredWhitespace]);
56 const mediaType: ParsedMediaType['mediaType'] = yield ['screen', 'print'];
57 return new ParsedMediaType(mediaType);
58 }
59}
60
61class ParsedNotMediaType {

Callers

nothing calls this directly

Calls 1

optionalFunction · 0.90

Tested by

no test coverage detected