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

Function ValueParser

src/tailwindcss.test.ts:36–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36function* ValueParser() {
37 const [rawValue]: [string] = yield /^[^;}]+/;
38 // const [rawValue]: [
39 // string
40 // ] = yield /^(0|-?(\d+[.]\d+|[.]\d+|\d+[.]|\d+)(rem|em|%|px|pt|ch|)(\s[-\w,\s'"]+)?|var\(--[\w-]+\)|[-\w,\s'"]+)|#[\da-fA-F]+/;
41 return rawValue;
42}
43
44function* DeclarationParser() {
45 const name = yield PropertyParser;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected