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

Method parseComponentValues

src/css/syntax/parser.ts:74–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 }
73
74 parseComponentValues(): CSSValue[] {
75 const values = [];
76 while (true) {
77 const value = this.consumeComponentValue();
78 if (value.type === TokenType.EOF_TOKEN) {
79 return values;
80 }
81 values.push(value);
82 values.push();
83 }
84 }
85
86 private consumeComponentValue(): CSSValue {
87 const token = this.consumeToken();

Callers 2

parseFunction · 0.95
parseValuesMethod · 0.80

Calls 1

consumeComponentValueMethod · 0.95

Tested by

no test coverage detected