lix-website/themes/lix/assets/bootstrap/node_modules/@stylelint/postcss-css-in-js/literal.js

24 lines
416 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'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;