You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
402 B

"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;