GoScrobble/web/node_modules/css-tree/lib/syntax/node/Value.js

20 lines
444 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
module.exports = {
name: 'Value',
structure: {
children: [[]]
},
parse: function() {
var start = this.scanner.tokenStart;
var children = this.readSequence(this.scope.Value);
return {
type: 'Value',
loc: this.getLocation(start, this.scanner.tokenStart),
children: children
};
},
generate: function(node) {
this.children(node);
}
};