Back parser state exportedIdentifiers by set (#13406)

This commit is contained in:
Huáng Jùnliàng
2021-06-01 07:17:30 -04:00
committed by GitHub
parent b397aca024
commit ae3f5d905a
7 changed files with 57 additions and 15 deletions

View File

@@ -148,10 +148,6 @@ export default class State {
// after a non-directive is parsed
strictErrors: Map<number, ErrorTemplate> = new Map();
// Names of exports store. `default` is stored as a name for both
// `export default foo;` and `export { foo as default };`.
exportedIdentifiers: Array<string> = [];
// Tokens length in token store
tokensLength: number = 0;