Method
constructor
(
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
Tested by
no test coverage detected