main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
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.