Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/util/common/test/shims/newSymbolName.ts
13405 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
export enum NewSymbolNameTag {
7
AIGenerated = 1
8
}
9
10
export enum NewSymbolNameTriggerKind {
11
Invoke = 0,
12
Automatic = 1,
13
}
14
15
export class NewSymbolName {
16
readonly newSymbolName: string;
17
readonly tags?: readonly NewSymbolNameTag[];
18
19
constructor(newSymbolName: string, tags?: readonly NewSymbolNameTag[]) {
20
this.newSymbolName = newSymbolName;
21
this.tags = tags;
22
}
23
}
24
25