Urara-Blog/node_modules/.pnpm-store/v3/files/d1/cfd82b64128e88bb2f009fa2b0782abcf423d2348a6f1b6d5af339831087a55d58d4aed435c1a5a946216dae423608553b4c9ab525b09752622fd902ea1417
2022-08-14 01:14:53 +08:00

26 lines
462 B
Text

'use strict';
const types = require('../../tokenizer/types.cjs');
const name = 'CDO';
const structure = [];
function parse() {
const start = this.tokenStart;
this.eat(types.CDO); // <!--
return {
type: 'CDO',
loc: this.getLocation(start, this.tokenStart)
};
}
function generate() {
this.token(types.CDO, '<!--');
}
exports.generate = generate;
exports.name = name;
exports.parse = parse;
exports.structure = structure;