remove range property from nodes, clean up babylon codebase

This commit is contained in:
Sebastian McKenzie
2015-07-25 07:07:22 +01:00
parent af03a301ae
commit e7fec51feb
424 changed files with 3967 additions and 19592 deletions

View File

@@ -1,17 +1,51 @@
{
"type": "File",
"start": 0,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
},
"sourceType": "script",
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
},
"id": {
"type": "Identifier",
"name": "a",
"range": [
9,
10
],
"start": 9,
"end": 10,
"loc": {
"start": {
"line": 1,
@@ -21,18 +55,31 @@
"line": 1,
"column": 10
}
}
},
"name": "a"
},
"generator": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 13,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 5,
"column": 1
}
},
"body": [
{
"type": "DebuggerStatement",
"range": [
36,
45
],
"start": 36,
"end": 45,
"loc": {
"start": {
"line": 3,
@@ -47,10 +94,8 @@
{
"type": "CommentBlock",
"value": " before ",
"range": [
19,
31
],
"start": 19,
"end": 31,
"loc": {
"start": {
"line": 2,
@@ -60,17 +105,19 @@
"line": 2,
"column": 16
}
}
},
"range": [
19,
31
]
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " after ",
"range": [
50,
61
],
"start": 50,
"end": 61,
"loc": {
"start": {
"line": 4,
@@ -80,68 +127,25 @@
"line": 4,
"column": 15
}
}
},
"range": [
50,
61
]
}
]
}
],
"range": [
13,
63
],
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 5,
"column": 1
}
}
},
"generator": false,
"expression": false,
"range": [
0,
63
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
]
}
}
],
"sourceType": "script",
"range": [
0,
63
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 5,
"column": 1
}
}
]
},
"comments": [
{
"type": "CommentBlock",
"value": " before ",
"range": [
19,
31
],
"start": 19,
"end": 31,
"loc": {
"start": {
"line": 2,
@@ -151,15 +155,17 @@
"line": 2,
"column": 16
}
}
},
"range": [
19,
31
]
},
{
"type": "CommentBlock",
"value": " after ",
"range": [
50,
61
],
"start": 50,
"end": 61,
"loc": {
"start": {
"line": 4,
@@ -169,7 +175,11 @@
"line": 4,
"column": 15
}
}
},
"range": [
50,
61
]
}
]
}
}