blob: 1cc125788b166860c2b7fff43cf6470c76084b10 [file] [log] [blame]
"use strict";
const Node = require("postcss/lib/node");
/**
* Represents a JS literal
*
* @extends Container
*
* @example
* const root = postcss.parse('{}');
* const literal = root.first;
* literal.type //=> 'literal'
* literal.toString() //=> 'a{}'
*/
class Literal extends Node {
constructor (defaults) {
super(defaults);
this.type = "literal";
}
}
module.exports = Literal;