UNPKG

@applitools/css-tree

Version:

A temporary custom copy of https://github.com/csstree/csstree

20 lines (16 loc) 377 B
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); }