el-beeswarm
Version:
<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;
25 lines (21 loc) • 439 B
JavaScript
;
const Container = require('postcss/lib/container');
/**
* Represents a JS Object Literal
*
* @extends Container
*
* @example
* const root = postcss.parse('{}');
* const obj = root.first;
* obj.type //=> 'object'
* obj.toString() //=> '{}'
*/
class ObjectLiteral extends Container {
constructor(defaults) {
super(defaults);
this.type = 'object';
this.nodes = [];
}
}
module.exports = ObjectLiteral;