ast-types
Advanced tools
Comparing version 0.9.12 to 0.9.13
@@ -270,2 +270,10 @@ module.exports = function (fork) { | ||
def("OpaqueType") | ||
.bases("Declaration") | ||
.build("id", "typeParameters", "impltype", "supertype") | ||
.field("id", def("Identifier")) | ||
.field("typeParameters", or(def("TypeParameterDeclaration"), null)) | ||
.field("implType", def("Type")) | ||
.field("superType", def("Type")); | ||
def("DeclareTypeAlias") | ||
@@ -275,2 +283,6 @@ .bases("TypeAlias") | ||
def("DeclareOpaqueType") | ||
.bases("TypeAlias") | ||
.build("id", "typeParameters", "supertype"); | ||
def("TypeCastExpression") | ||
@@ -277,0 +289,0 @@ .bases("Expression") |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.9.12", | ||
"version": "0.9.13", | ||
"homepage": "http://github.com/benjamn/ast-types", | ||
@@ -35,9 +35,9 @@ "repository": { | ||
"devDependencies": { | ||
"babel-types": "^6.23.0", | ||
"babel-types": "^6.26.0", | ||
"babylon": "^6.16.1", | ||
"espree": "^3.1.7", | ||
"esprima": "~3.1.3", | ||
"esprima": "~4.0.0", | ||
"esprima-fb": "~14001.1.0-dev-harmony-fb", | ||
"mocha": "^3.4.2", | ||
"reify": "^0.11.0" | ||
"reify": "^0.12.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "engines": { |
156557
3604
24