the-forest/client/node_modules/css-tree/lib/syntax/node/Value.js

20 lines
444 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04: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);
}
};