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

Method constructor

packages/core/ui/styling/style-scope.ts:95–102  ·  view source on GitHub ↗
(
		private _ast: ReworkCSS.SyntaxTree,
		private _url: string,
		private _file: string,
		private _source: string,
	)

Source from the content-addressed store, hash-verified

93 private _keyframes: Keyframes[] = [];
94
95 private constructor(
96 private _ast: ReworkCSS.SyntaxTree,
97 private _url: string,
98 private _file: string,
99 private _source: string,
100 ) {
101 this.parse();
102 }
103
104 public static fromDetect(cssOrAst: any, fileName?: string): CSSSource {
105 if (typeof cssOrAst === 'string') {

Callers

nothing calls this directly

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected