MCPcopy
hub / github.com/niklasvh/html2canvas / create

Method create

src/css/syntax/parser.ts:36–40  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

34 }
35
36 static create(value: string): Parser {
37 const tokenizer = new Tokenizer();
38 tokenizer.write(value);
39 return new Parser(tokenizer.read());
40 }
41
42 static parseValue(value: string): CSSValue {
43 return Parser.create(value).parseComponentValue();

Callers 4

karma.conf.jsFile · 0.45
parseValueMethod · 0.45
parseValuesMethod · 0.45
parseColorFunction · 0.45

Calls 2

writeMethod · 0.95
readMethod · 0.95

Tested by

no test coverage detected