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

Commit

Permalink
add ForAwaitStatement (async generator already added) [skip ci] (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo authored and danez committed Oct 25, 2016
1 parent 930cdd0 commit d1b0886
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ast/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -480,6 +481,16 @@ interface ForOfStatement <: ForInStatement {
}
```

A `for`/`await` statement.

## ForAwaitStatement

```js
interface ForAwaitStatement <: ForInStatement {
type: "ForAwaitStatement";
}
```

# Declarations

```js
Expand Down

0 comments on commit d1b0886

Please sign in to comment.