add ForAwaitStatement (async generator already added) [skip ci] (#196)
This commit is contained in:
parent
930cdd01a7
commit
d1b0886d46
13
ast/spec.md
13
ast/spec.md
@ -34,7 +34,8 @@ These are the core Babylon AST node types.
|
||||
- [DoWhileStatement](#dowhilestatement)
|
||||
- [ForStatement](#forstatement)
|
||||
- [ForInStatement](#forinstatement)
|
||||
- [ForOfStatement](#forofstatement)
|
||||
- [ForOfStatement](#forofstatement)
|
||||
- [ForAwaitStatement](#forawaitstatement)
|
||||
- [Declarations](#declarations)
|
||||
- [FunctionDeclaration](#functiondeclaration)
|
||||
- [VariableDeclaration](#variabledeclaration)
|
||||
@ -480,6 +481,16 @@ interface ForOfStatement <: ForInStatement {
|
||||
}
|
||||
```
|
||||
|
||||
A `for`/`await` statement.
|
||||
|
||||
## ForAwaitStatement
|
||||
|
||||
```js
|
||||
interface ForAwaitStatement <: ForInStatement {
|
||||
type: "ForAwaitStatement";
|
||||
}
|
||||
```
|
||||
|
||||
# Declarations
|
||||
|
||||
```js
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user