more estree updates - finish flow parsing

This commit is contained in:
Sebastian McKenzie
2015-03-19 01:48:44 +11:00
parent 57af08bea8
commit 7c84db45fd
6 changed files with 145 additions and 61 deletions

View File

@@ -7734,8 +7734,7 @@ var fbTestFixture = {
}
},
'export type Foo = number;': {
type: 'ExportDeclaration',
'default': false,
type: 'ExportNamedDeclaration',
declaration: {
type: 'TypeAlias',
id: {
@@ -7762,7 +7761,7 @@ var fbTestFixture = {
end: { line: 1, column: 25 }
}
},
specifiers: null,
specifiers: [],
source: null,
range: [0, 25],
loc: {
@@ -11116,7 +11115,8 @@ for (var ns in fbTestFixture) {
body: [ns[code]]
}, {
ecmaVersion: 7,
plugins: { flow: true, jsx: true },
sourceType: "module",
plugins: { jsx: true, flow: true },
features: { "es7.asyncFunctions": true },
locations: true,
ranges: true