Node-Red configuration
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

stringifier.d.ts 1.4KB

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