This commit is contained in:
tatianamac
2019-11-26 14:50:43 -08:00
parent 8a55660ed0
commit 6d5445ecc5
13894 changed files with 2233957 additions and 0 deletions

28
node_modules/postcss-values-parser/lib/string.js generated vendored Normal file
View File

@ -0,0 +1,28 @@
'use strict';
const Container = require('./container');
const Node = require('./node');
class StringNode extends Node {
constructor (opts) {
super(opts);
this.type = 'string';
}
toString () {
let quote = this.quoted ? this.raws.quote : '';
return [
this.raws.before,
quote,
// we can't use String() here because it'll try using itself
// as the constructor
this.value + '',
quote,
this.raws.after
].join('');
}
}
Container.registerWalker(StringNode);
module.exports = StringNode;