refactor: split locationParser into ParserErrors and error message (#11653)

This commit is contained in:
Huáng Jùnliàng
2020-05-30 15:05:42 -04:00
committed by GitHub
parent 15d6da076a
commit b5c4a46a69
13 changed files with 82 additions and 78 deletions

View File

@@ -5,7 +5,7 @@ import {
CLASS_ELEMENT_FLAG_STATIC,
type ClassElementTypes,
} from "./scopeflags";
import { Errors } from "../parser/location";
import { Errors } from "../parser/error";
export class ClassScope {
// A list of private named declared in the current class

View File

@@ -16,7 +16,7 @@ import {
type BindingTypes,
} from "./scopeflags";
import * as N from "../types";
import { Errors } from "../parser/location";
import { Errors } from "../parser/error";
// Start an AST node, attaching a start offset.
export class Scope {