lix-website/themes/lix/assets/bootstrap/node_modules/@stylelint/postcss-css-in-js/literal.js
2024-04-26 22:49:34 -06:00

24 lines
416 B
JavaScript

'use strict';
const Container = require('postcss/lib/container');
/**
* Represents a JS literal
*
* @extends Container
*
* @example
* const root = postcss.parse('{}');
* const literal = root.first;
* literal.type //=> 'literal'
* literal.toString() //=> 'a{}'
*/
class Literal extends Container {
constructor(defaults) {
super(defaults);
this.type = 'literal';
}
}
module.exports = Literal;