|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
421 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | var STRING = require('../../tokenizer').TYPE.String;
|
|---|
| 2 |
|
|---|
| 3 | module.exports = {
|
|---|
| 4 | name: 'String',
|
|---|
| 5 | structure: {
|
|---|
| 6 | value: String
|
|---|
| 7 | },
|
|---|
| 8 | parse: function() {
|
|---|
| 9 | return {
|
|---|
| 10 | type: 'String',
|
|---|
| 11 | loc: this.getLocation(this.scanner.tokenStart, this.scanner.tokenEnd),
|
|---|
| 12 | value: this.consume(STRING)
|
|---|
| 13 | };
|
|---|
| 14 | },
|
|---|
| 15 | generate: function(node) {
|
|---|
| 16 | this.chunk(node.value);
|
|---|
| 17 | }
|
|---|
| 18 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.