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

Method parseAStylesheet

packages/core/css/CSS3Parser.ts:484–489  ·  view source on GitHub ↗

* 5.3.1. Parse a stylesheet * https://www.w3.org/TR/css-syntax-3/#parse-a-stylesheet

()

Source from the content-addressed store, hash-verified

482 * https://www.w3.org/TR/css-syntax-3/#parse-a-stylesheet
483 */
484 public parseAStylesheet(): Stylesheet {
485 this.topLevelFlag = true;
486 return {
487 rules: this.consumeAListOfRules(),
488 };
489 }
490
491 /**
492 * 5.4.1. Consume a list of rules

Callers 2

parseCSSAstMethod · 0.95
parser.spec.tsFile · 0.80

Calls 1

consumeAListOfRulesMethod · 0.95

Tested by

no test coverage detected