added whole system from ola4doc

This commit is contained in:
Bachir Soussi Chiadmi
2017-12-14 17:06:06 +01:00
parent 9646c74be1
commit 0611418f7a
8725 changed files with 817688 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
import Node from './node';
declare class Stringifier {
builder: Stringifier.Builder;
constructor(builder?: Stringifier.Builder);
stringify(node: Node, semicolon?: boolean): void;
root(node: any): void;
comment(node: any): void;
decl(node: any, semicolon: any): void;
rule(node: any): void;
atrule(node: any, semicolon: any): void;
body(node: any): void;
block(node: any, start: any): void;
raw(node: Node, own: string, detect?: string): any;
rawSemicolon(root: any): any;
rawEmptyBody(root: any): any;
rawIndent(root: any): any;
rawBeforeComment(root: any, node: any): any;
rawBeforeDecl(root: any, node: any): any;
rawBeforeRule(root: any): any;
rawBeforeClose(root: any): any;
rawBeforeOpen(root: any): any;
rawColon(root: any): any;
beforeAfter(node: any, detect: any): any;
rawValue(node: any, prop: any): any;
}
declare module Stringifier {
interface Builder {
(str: string, node?: Node, str2?: string): void;
}
}
export default Stringifier;