(selector: string, nodes: AstNode[] = [])
| 68 | export type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot |
| 69 | |
| 70 | export function styleRule(selector: string, nodes: AstNode[] = []): StyleRule { |
| 71 | return { |
| 72 | kind: class="st">'rule', |
| 73 | selector, |
| 74 | nodes, |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | export function atRule(name: string, params: string = class="st">'', nodes: AstNode[] = []): AtRule { |
| 79 | return { |
no outgoing calls
no test coverage detected