Tcsm
2023-05-29 ebe31a83ee1c76bfc6546e8b60ae5cf90c554346
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var CDO = require('../../tokenizer').TYPE.CDO;
 
module.exports = {
    name: 'CDO',
    structure: [],
    parse: function() {
        var start = this.scanner.tokenStart;
 
        this.eat(CDO); // <!--
 
        return {
            type: 'CDO',
            loc: this.getLocation(start, this.scanner.tokenStart)
        };
    },
    generate: function() {
        this.chunk('<!--');
    }
};