unoverload Literal AST node

This commit is contained in:
Sebastian McKenzie
2015-09-01 04:49:16 +01:00
parent 95f061b76e
commit 8d7b3c462f
565 changed files with 3239 additions and 1120 deletions

View File

@@ -91,7 +91,7 @@
}
},
"argument": {
"type": "Literal",
"type": "NumberLiteral",
"start": 42,
"end": 44,
"loc": {

View File

@@ -91,7 +91,7 @@
}
},
"test": {
"type": "Literal",
"type": "BooleanLiteral",
"start": 37,
"end": 41,
"loc": {

View File

@@ -140,7 +140,7 @@
},
"consequent": [],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 66,
"end": 67,
"loc": {
@@ -267,7 +267,7 @@
}
],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 111,
"end": 112,
"loc": {

View File

@@ -75,7 +75,7 @@
},
"consequent": [],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 34,
"end": 35,
"loc": {
@@ -202,7 +202,7 @@
}
],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 71,
"end": 72,
"loc": {

View File

@@ -157,7 +157,7 @@
}
],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 48,
"end": 49,
"loc": {
@@ -210,7 +210,7 @@
}
],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 83,
"end": 84,
"loc": {

View File

@@ -501,7 +501,7 @@
},
"operator": "-",
"right": {
"type": "Literal",
"type": "NumberLiteral",
"start": 215,
"end": 216,
"loc": {
@@ -527,7 +527,7 @@
}
],
"test": {
"type": "Literal",
"type": "StringLiteral",
"start": 116,
"end": 136,
"loc": {
@@ -584,7 +584,7 @@
}
},
"argument": {
"type": "Literal",
"type": "BooleanLiteral",
"start": 271,
"end": 276,
"loc": {

View File

@@ -94,7 +94,7 @@
}
],
"test": {
"type": "Literal",
"type": "NumberLiteral",
"start": 22,
"end": 23,
"loc": {