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:
395 bytes
|
Rev | Line | |
---|
[d565449] | 1 | var CDO = require('../../tokenizer').TYPE.CDO;
|
---|
| 2 |
|
---|
| 3 | module.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.