1 import postcss from './postcss';
2 import Node from './node';
3 export default class Warning implements postcss.Warning {
5 * Contains the warning message.
9 * Returns a string representing the node's type. Possible values are
10 * root, atrule, rule, decl or comment.
14 * Contains the name of the plugin that created this warning. When you
15 * call Node#warn(), it will fill this property automatically.
19 * The CSS node that caused the warning.
23 * The line in the input file with this warning's source.
27 * Column in the input file with this warning's source.
31 * Represents a plugin warning. It can be created using Node#warn().
35 * Contains the warning message.
37 text: string, options?: postcss.WarningOptions);
39 * @returns Error position, message.