source: imaps-frontend/node_modules/css-tree/lib/syntax/node/CDC.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • 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.