Skip to content

Commit

Permalink
docs: add AST spec
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Sep 28, 2020
1 parent a064e50 commit 7ae65f3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/babel-parser/ast/spec.md
Expand Up @@ -1235,6 +1235,17 @@ interface ClassPrivateProperty <: Node {
}
```

## StaticBlock

```js
interface StaticBlock <: Node {
type: "StaticBlock";
body: [ Statement ];
}
```

A static block proposed in https://github.com/tc39/proposal-class-static-block.

## ClassDeclaration

```js
Expand Down

0 comments on commit 7ae65f3

Please sign in to comment.