1 | /**
|
2 | * @license
|
3 | * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
|
4 | * This code may only be used under the BSD style license found at
|
5 | * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
6 | * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
7 | * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
8 | * Google as part of the polymer project is also subject to an additional IP
|
9 | * rights grant found at http://polymer.github.io/PATENTS.txt
|
10 | */
|
11 | import { Node } from './common';
|
12 | import { NodeVisitor } from './node-visitor';
|
13 | /**
|
14 | * Class that implements basic stringification of an AST produced by the Parser.
|
15 | */
|
16 | declare class Stringifier extends NodeVisitor<Node, string> {
|
17 | /**
|
18 | * Stringify an AST such as one produced by a Parser.
|
19 | * @param ast A node object representing the root of an AST.
|
20 | * @return The stringified CSS corresponding to the AST.
|
21 | */
|
22 | stringify(ast: Node): string;
|
23 | }
|
24 | export { Stringifier };
|