Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
444 bytes
|
Line | |
---|
1 | module.exports = {
|
---|
2 | name: 'Value',
|
---|
3 | structure: {
|
---|
4 | children: [[]]
|
---|
5 | },
|
---|
6 | parse: function() {
|
---|
7 | var start = this.scanner.tokenStart;
|
---|
8 | var children = this.readSequence(this.scope.Value);
|
---|
9 |
|
---|
10 | return {
|
---|
11 | type: 'Value',
|
---|
12 | loc: this.getLocation(start, this.scanner.tokenStart),
|
---|
13 | children: children
|
---|
14 | };
|
---|
15 | },
|
---|
16 | generate: function(node) {
|
---|
17 | this.children(node);
|
---|
18 | }
|
---|
19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.