commit
6b76402791
@ -141,7 +141,7 @@ interface Position {
|
|||||||
# Identifier
|
# Identifier
|
||||||
|
|
||||||
```js
|
```js
|
||||||
interface Identifier <: Node, Expression, Pattern {
|
interface Identifier <: Expression, Pattern {
|
||||||
type: "Identifier";
|
type: "Identifier";
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
@ -151,6 +151,12 @@ An identifier. Note that an identifier may be an expression or a destructuring p
|
|||||||
|
|
||||||
# Literals
|
# Literals
|
||||||
|
|
||||||
|
```js
|
||||||
|
interface Literal <: Expression { }
|
||||||
|
```
|
||||||
|
|
||||||
|
A literal token. May or may not represent an expression.
|
||||||
|
|
||||||
## RegExpLiteral
|
## RegExpLiteral
|
||||||
|
|
||||||
```js
|
```js
|
||||||
@ -929,6 +935,10 @@ interface TemplateElement <: Node {
|
|||||||
|
|
||||||
# Patterns
|
# Patterns
|
||||||
|
|
||||||
|
```js
|
||||||
|
interface Pattern <: Node { }
|
||||||
|
```
|
||||||
|
|
||||||
## ObjectPattern
|
## ObjectPattern
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user