Sha256: 05bcfe57b827b1c77bb0a0727d30d3a0e94d61daecc0748375a53b95c5ac6c03
Contents?: true
Size: 947 Bytes
Versions: 13
Compression:
Stored size: 947 Bytes
Contents
import postcss from './postcss'; import Node from './node'; export default class Comment extends Node implements postcss.Comment { /** * Returns a string representing the node's type. Possible values are * root, atrule, rule, decl or comment. */ type: string; /** * The comment's text. */ text: string; /** * Represents a comment between declarations or statements (rule and at-rules). * Comments inside selectors, at-rule parameters, or declaration values will * be stored in the Node#raws properties. */ constructor(defaults?: postcss.CommentNewProps); /** * @param overrides New properties to override in the clone. * @returns A clone of this node. The node and its (cloned) children will * have a clean parent and code style properties. */ clone(overrides?: Object): any; toJSON(): postcss.JsonComment; left: string; right: string; }
Version data entries
13 entries across 4 versions & 2 rubygems