site/node_modules/css-tree/lib/syntax/node/Value.js

20 lines
377 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
export const name = 'Value';
export const structure = {
children: [[]]
};
export function parse() {
const start = this.tokenStart;
const children = this.readSequence(this.scope.Value);
return {
type: 'Value',
loc: this.getLocation(start, this.tokenStart),
children
};
}
export function generate(node) {
this.children(node);
}