Urara-Blog/node_modules/.pnpm-store/v3/files/25/1c88ce1b1f232bf606337083e01e02ea30a59213039f341d76dfed44c36c64cd0fce1d59848430d965a3a18abbc328b426cacc4a47bca43059f6e7ccaf872b
2022-08-14 01:14:53 +08:00

19 lines
352 B
Text

import { CDC } from '../../tokenizer/index.js';
export const name = 'CDC';
export const structure = [];
export function parse() {
const start = this.tokenStart;
this.eat(CDC); // -->
return {
type: 'CDC',
loc: this.getLocation(start, this.tokenStart)
};
}
export function generate() {
this.token(CDC, '-->');
}