rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
}
|
||||
},
|
||||
"typeAnnotation": {
|
||||
"type": "NumberLiteralTypeAnnotation",
|
||||
"type": "NumericLiteralTypeAnnotation",
|
||||
"start": 7,
|
||||
"end": 16,
|
||||
"loc": {
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
}
|
||||
},
|
||||
"typeAnnotation": {
|
||||
"type": "NumberLiteralTypeAnnotation",
|
||||
"type": "NumericLiteralTypeAnnotation",
|
||||
"start": 7,
|
||||
"end": 12,
|
||||
"loc": {
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
}
|
||||
},
|
||||
"typeAnnotation": {
|
||||
"type": "NumberLiteralTypeAnnotation",
|
||||
"type": "NumericLiteralTypeAnnotation",
|
||||
"start": 7,
|
||||
"end": 10,
|
||||
"loc": {
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
}
|
||||
},
|
||||
"typeAnnotation": {
|
||||
"type": "NumberLiteralTypeAnnotation",
|
||||
"type": "NumericLiteralTypeAnnotation",
|
||||
"start": 7,
|
||||
"end": 12,
|
||||
"loc": {
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
}
|
||||
},
|
||||
"typeAnnotation": {
|
||||
"type": "NumberLiteralTypeAnnotation",
|
||||
"type": "NumericLiteralTypeAnnotation",
|
||||
"start": 7,
|
||||
"end": 11,
|
||||
"loc": {
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
}
|
||||
},
|
||||
"discriminant": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 34,
|
||||
"end": 35,
|
||||
"loc": {
|
||||
@@ -412,7 +412,7 @@
|
||||
},
|
||||
"operator": "<<",
|
||||
"right": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 144,
|
||||
"end": 145,
|
||||
"loc": {
|
||||
|
||||
2
test/fixtures/flow/tuples/3/expected.json
vendored
2
test/fixtures/flow/tuples/3/expected.json
vendored
@@ -136,7 +136,7 @@
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 21,
|
||||
"end": 24,
|
||||
"loc": {
|
||||
|
||||
2
test/fixtures/flow/tuples/4/expected.json
vendored
2
test/fixtures/flow/tuples/4/expected.json
vendored
@@ -151,7 +151,7 @@
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 28,
|
||||
"end": 31,
|
||||
"loc": {
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
"shorthand": false,
|
||||
"computed": false,
|
||||
"key": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 3,
|
||||
"end": 6,
|
||||
"loc": {
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 23,
|
||||
"end": 24,
|
||||
"loc": {
|
||||
@@ -187,7 +187,7 @@
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 26,
|
||||
"end": 27,
|
||||
"loc": {
|
||||
@@ -207,7 +207,7 @@
|
||||
"value": 2
|
||||
},
|
||||
{
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 29,
|
||||
"end": 30,
|
||||
"loc": {
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
}
|
||||
},
|
||||
"argument": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 40,
|
||||
"end": 42,
|
||||
"loc": {
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
}
|
||||
},
|
||||
"init": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 26,
|
||||
"end": 27,
|
||||
"loc": {
|
||||
|
||||
2
test/fixtures/flow/typecasts/2/expected.json
vendored
2
test/fixtures/flow/typecasts/2/expected.json
vendored
@@ -105,7 +105,7 @@
|
||||
"name": "xxx"
|
||||
},
|
||||
"value": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 7,
|
||||
"end": 8,
|
||||
"loc": {
|
||||
|
||||
2
test/fixtures/flow/typecasts/3/expected.json
vendored
2
test/fixtures/flow/typecasts/3/expected.json
vendored
@@ -123,7 +123,7 @@
|
||||
},
|
||||
"operator": "+",
|
||||
"right": {
|
||||
"type": "NumberLiteral",
|
||||
"type": "NumericLiteral",
|
||||
"start": 16,
|
||||
"end": 17,
|
||||
"loc": {
|
||||
|
||||
Reference in New Issue
Block a user