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.
23 lines
416 B
23 lines
416 B
'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;
|
|
|