[babylon] Refactor mixin plugins handling & validation (#7999)
This commit is contained in:
committed by
Henry Zhu
parent
b33823e7f8
commit
ffe04d9195
@@ -4,12 +4,13 @@ import type { Options } from "../options";
|
||||
import { reservedWords } from "../util/identifier";
|
||||
|
||||
import type State from "../tokenizer/state";
|
||||
import type { PluginsMap } from "./index";
|
||||
|
||||
export default class BaseParser {
|
||||
// Properties set by constructor in index.js
|
||||
options: Options;
|
||||
inModule: boolean;
|
||||
plugins: { [key: string]: boolean };
|
||||
plugins: PluginsMap;
|
||||
filename: ?string;
|
||||
sawUnambiguousESM: boolean = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user