source: trip-planner-front/node_modules/css-tree/lib/syntax/node/CDO.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 395 bytes
Line 
1var CDO = require('../../tokenizer').TYPE.CDO;
2
3module.exports = {
4 name: 'CDO',
5 structure: [],
6 parse: function() {
7 var start = this.scanner.tokenStart;
8
9 this.eat(CDO); // <!--
10
11 return {
12 type: 'CDO',
13 loc: this.getLocation(start, this.scanner.tokenStart)
14 };
15 },
16 generate: function() {
17 this.chunk('<!--');
18 }
19};
Note: See TracBrowser for help on using the repository browser.