mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-02 14:25:42 +01:00
Fix enum init order
This commit is contained in:
@@ -52,6 +52,14 @@ const TS_CONFIG_PATH = path.join(__dirname, '../../', 'src', 'tsconfig.json');
|
||||
//
|
||||
// #############################################################################################
|
||||
//
|
||||
var EntryKind;
|
||||
(function (EntryKind) {
|
||||
EntryKind[EntryKind["Span"] = 0] = "Span";
|
||||
EntryKind[EntryKind["Node"] = 1] = "Node";
|
||||
EntryKind[EntryKind["StringLiteral"] = 2] = "StringLiteral";
|
||||
EntryKind[EntryKind["SearchedLocalFoundProperty"] = 3] = "SearchedLocalFoundProperty";
|
||||
EntryKind[EntryKind["SearchedPropertyFoundLocal"] = 4] = "SearchedPropertyFoundLocal";
|
||||
})(EntryKind || (EntryKind = {}));
|
||||
const cancellationToken = {
|
||||
isCancellationRequested: () => false,
|
||||
throwIfCancellationRequested: () => { },
|
||||
@@ -238,13 +246,4 @@ var DefinitionKind;
|
||||
DefinitionKind[DefinitionKind["String"] = 4] = "String";
|
||||
DefinitionKind[DefinitionKind["TripleSlashReference"] = 5] = "TripleSlashReference";
|
||||
})(DefinitionKind || (DefinitionKind = {}));
|
||||
/** @internal */
|
||||
var EntryKind;
|
||||
(function (EntryKind) {
|
||||
EntryKind[EntryKind["Span"] = 0] = "Span";
|
||||
EntryKind[EntryKind["Node"] = 1] = "Node";
|
||||
EntryKind[EntryKind["StringLiteral"] = 2] = "StringLiteral";
|
||||
EntryKind[EntryKind["SearchedLocalFoundProperty"] = 3] = "SearchedLocalFoundProperty";
|
||||
EntryKind[EntryKind["SearchedPropertyFoundLocal"] = 4] = "SearchedPropertyFoundLocal";
|
||||
})(EntryKind || (EntryKind = {}));
|
||||
//# sourceMappingURL=propertyInitOrderChecker.js.map
|
||||
@@ -22,6 +22,13 @@ const TS_CONFIG_PATH = path.join(__dirname, '../../', 'src', 'tsconfig.json');
|
||||
// #############################################################################################
|
||||
//
|
||||
|
||||
enum EntryKind {
|
||||
Span,
|
||||
Node,
|
||||
StringLiteral,
|
||||
SearchedLocalFoundProperty,
|
||||
SearchedPropertyFoundLocal,
|
||||
}
|
||||
|
||||
const cancellationToken: ts.CancellationToken = {
|
||||
isCancellationRequested: () => false,
|
||||
@@ -271,14 +278,6 @@ type Definition =
|
||||
| { readonly type: DefinitionKind.String; readonly node: ts.StringLiteralLike }
|
||||
| { readonly type: DefinitionKind.TripleSlashReference; readonly reference: ts.FileReference; readonly file: ts.SourceFile };
|
||||
|
||||
/** @internal */
|
||||
enum EntryKind {
|
||||
Span,
|
||||
Node,
|
||||
StringLiteral,
|
||||
SearchedLocalFoundProperty,
|
||||
SearchedPropertyFoundLocal,
|
||||
}
|
||||
type NodeEntryKind = EntryKind.Node | EntryKind.StringLiteral | EntryKind.SearchedLocalFoundProperty | EntryKind.SearchedPropertyFoundLocal;
|
||||
type Entry = NodeEntry | SpanEntry;
|
||||
interface ContextWithStartAndEndNode {
|
||||
|
||||
Reference in New Issue
Block a user