source: trip-planner-front/node_modules/css-tree/lib/syntax/node/CDC.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: 393 bytes
Line 
1var CDC = require('../../tokenizer').TYPE.CDC;
2
3module.exports = {
4 name: 'CDC',
5 structure: [],
6 parse: function() {
7 var start = this.scanner.tokenStart;
8
9 this.eat(CDC); // -->
10
11 return {
12 type: 'CDC',
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.