6c5a5256c7
Switch SVG optimizer resolution from bin/svgo-cli.exe to bin/svgo.cmd. Update unit tests to validate the new local binary path behavior. Co-Authored-By: Abacus.AI CLI <agent@abacus.ai>
27 lines
469 B
JavaScript
27 lines
469 B
JavaScript
'use strict';
|
|
|
|
const name = 'Value';
|
|
const structure = {
|
|
children: [[]]
|
|
};
|
|
|
|
function parse() {
|
|
const start = this.tokenStart;
|
|
const children = this.readSequence(this.scope.Value);
|
|
|
|
return {
|
|
type: 'Value',
|
|
loc: this.getLocation(start, this.tokenStart),
|
|
children
|
|
};
|
|
}
|
|
|
|
function generate(node) {
|
|
this.children(node);
|
|
}
|
|
|
|
exports.generate = generate;
|
|
exports.name = name;
|
|
exports.parse = parse;
|
|
exports.structure = structure;
|