source: imaps-frontend/node_modules/postcss/lib/stringifier.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 1.4 KB
Line 
1import {
2 AnyNode,
3 AtRule,
4 Builder,
5 Comment,
6 Container,
7 Declaration,
8 Document,
9 Root,
10 Rule
11} from './postcss.js'
12
13declare namespace Stringifier {
14 // eslint-disable-next-line @typescript-eslint/no-use-before-define
15 export { Stringifier_ as default }
16}
17
18declare class Stringifier_ {
19 builder: Builder
20 constructor(builder: Builder)
21 atrule(node: AtRule, semicolon?: boolean): void
22 beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
23 block(node: AnyNode, start: string): void
24 body(node: Container): void
25 comment(node: Comment): void
26 decl(node: Declaration, semicolon?: boolean): void
27 document(node: Document): void
28 raw(node: AnyNode, own: null | string, detect?: string): string
29 rawBeforeClose(root: Root): string | undefined
30 rawBeforeComment(root: Root, node: Comment): string | undefined
31 rawBeforeDecl(root: Root, node: Declaration): string | undefined
32 rawBeforeOpen(root: Root): string | undefined
33 rawBeforeRule(root: Root): string | undefined
34 rawColon(root: Root): string | undefined
35 rawEmptyBody(root: Root): string | undefined
36 rawIndent(root: Root): string | undefined
37 rawSemicolon(root: Root): boolean | undefined
38 rawValue(node: AnyNode, prop: string): string
39 root(node: Root): void
40 rule(node: Rule): void
41 stringify(node: AnyNode, semicolon?: boolean): void
42}
43
44declare class Stringifier extends Stringifier_ {}
45
46export = Stringifier
Note: See TracBrowser for help on using the repository browser.