MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / single

Method single

packages/core/css-value/reworkcss-value.ts:102–107  ·  view source on GitHub ↗

Single-quoted strings

()

Source from the content-addressed store, hash-verified

100
101 /** Single-quoted strings */
102 private single(): StringToken | undefined {
103 const m = /^'([^']*)' */.exec(this.str);
104 if (!m) return;
105 this.skip(m);
106 return { type: 'string', quote: "'", string: `'${m[1]}'`, value: m[1] };
107 }
108
109 /** String tokens: single or double quoted */
110 private string(): StringToken | undefined {

Callers 1

stringMethod · 0.95

Calls 1

skipMethod · 0.95

Tested by

no test coverage detected