Version 1
[yaffs-website] / node_modules / uncss / node_modules / postcss / d.ts / comment.d.ts
1 import postcss from './postcss';
2 import Node from './node';
3 export default class Comment extends Node implements postcss.Comment {
4     /**
5      * Returns a string representing the node's type. Possible values are
6      * root, atrule, rule, decl or comment.
7      */
8     type: string;
9     /**
10      * The comment's text.
11      */
12     text: string;
13     /**
14      * Represents a comment between declarations or statements (rule and at-rules).
15      * Comments inside selectors, at-rule parameters, or declaration values will
16      * be stored in the Node#raws properties.
17      */
18     constructor(defaults?: postcss.CommentNewProps);
19     /**
20      * @param overrides New properties to override in the clone.
21      * @returns A clone of this node. The node and its (cloned) children will
22      * have a clean parent and code style properties.
23      */
24     clone(overrides?: Object): any;
25     toJSON(): postcss.JsonComment;
26     left: string;
27     right: string;
28 }