Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

[7.0] Rename flow AST Type ExistentialTypeParam to ExistsTypeAnnotation #322

Merged
merged 1 commit into from
Jan 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/plugins/flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ pp.flowParsePrimaryType = function () {

case tt.star:
this.next();
return this.finishNode(node, "ExistentialTypeParam");
return this.finishNode(node, "ExistsTypeAnnotation");

default:
if (this.state.type.keyword === "typeof") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
}
},
"typeAnnotation": {
"type": "ExistentialTypeParam",
"type": "ExistsTypeAnnotation",
"start": 8,
"end": 9,
"loc": {
Expand Down Expand Up @@ -132,7 +132,7 @@
}
},
"typeAnnotation": {
"type": "ExistentialTypeParam",
"type": "ExistsTypeAnnotation",
"start": 30,
"end": 31,
"loc": {
Expand Down Expand Up @@ -213,7 +213,7 @@
"value": true
},
{
"type": "ExistentialTypeParam",
"type": "ExistsTypeAnnotation",
"start": 24,
"end": 25,
"loc": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
}
},
{
"type": "ExistentialTypeParam",
"type": "ExistsTypeAnnotation",
"start": 26,
"end": 27,
"loc": {
Expand Down Expand Up @@ -190,4 +190,4 @@
],
"directives": []
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
},
"name": "T",
"default": {
"type": "ExistentialTypeParam",
"type": "ExistsTypeAnnotation",
"start": 34,
"end": 35,
"loc": {
Expand Down Expand Up @@ -3237,4 +3237,4 @@
],
"directives": []
}
}
}