Home
last modified time | relevance | path

Searched refs:CodeFixAction (Results 1 – 25 of 25) sorted by relevance

/third_party/typescript/src/services/codefixes/
DfixInvalidImportSyntax.ts5 …tCodeFixesForImportDeclaration(context: CodeFixContext, node: ImportDeclaration): CodeFixAction[] {
9 const variations: CodeFixAction[] = [];
28 …on(context: CodeFixContext, sourceFile: SourceFile, node: Node, replacement: Node): CodeFixAction {
41 … function getActionsForUsageOfInvalidImport(context: CodeFixContext): CodeFixAction[] | undefined {
71 …function getActionsForInvalidImportLocation(context: CodeFixContext): CodeFixAction[] | undefined {
80 …function getImportCodeFixesForExpression(context: CodeFixContext, expr: Node): CodeFixAction[] | u…
85 const fixes: CodeFixAction[] = [];
DfixStrictClassInitialization.ts55 …gnmentAssertion(context: CodeFixContext, propertyDeclaration: PropertyDeclaration): CodeFixAction {
73 …ngUndefinedType(context: CodeFixContext, propertyDeclaration: PropertyDeclaration): CodeFixAction {
85 …zer(context: CodeFixContext, propertyDeclaration: PropertyDeclaration): CodeFixAction | undefined {
DfixAddMissingMember.ts192 …mberDeclaration(context: CodeFixContext, info: ClassOrInterfaceInfo): CodeFixAction[] | undefined {
197 …aration, declSourceFile, modifierFlags, token }: ClassOrInterfaceInfo): CodeFixAction | undefined {
254 …ation, declSourceFile, modifierFlags, token }: ClassOrInterfaceInfo): CodeFixAction[] | undefined {
316 …ceFile, classDeclaration: ClassOrInterface, tokenName: string, typeNode: TypeNode): CodeFixAction {
338 …thodDeclaration(context: CodeFixContext, info: ClassOrInterfaceInfo): CodeFixAction[] | undefined {
DfixModuleAndTargetOptions.ts15 const codeFixes: CodeFixAction[] = [];
DdisableJsDiagnostics.ts20 const fixes: CodeFixAction[] = [
DfixJSDocTypes.ts23 … function fix(type: Type, fixId: string, fixAllDescription: DiagnosticMessage): CodeFixAction {
DfixClassIncorrectlyImplementsInterface.ts13 …return mapDefined<ExpressionWithTypeArguments, CodeFixAction>(getEffectiveImplementsTypeNodes(clas…
DfixUnusedIdentifier.ts70 const result: CodeFixAction[] = [];
158 …function createDeleteFix(changes: FileTextChanges[], diag: DiagnosticAndArguments): CodeFixAction {
DimportFixes.ts229 …function codeFixActionToCodeAction({ description, changes, commands }: CodeFixAction): CodeAction {
685 … SourceFile, symbolName: string, fix: ImportFix, quotePreference: QuotePreference): CodeFixAction {
/third_party/typescript/src/services/
DcodeFixProvider.ts17 …fixId: {}, fixAllDescription: DiagnosticAndArguments, command?: CodeActionCommand): CodeFixAction {
21 …extChanges[], fixId?: {}, fixAllDescription?: string, command?: CodeActionCommand): CodeFixAction {
50 return ({ fixId, fixAllDescription, ...action }: CodeFixAction): CodeFixAction => {
55 export function getFixes(context: CodeFixContext): readonly CodeFixAction[] {
Dtypes.ts512 …mber[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
724 export interface CodeFixAction extends CodeAction { interface
1460 getCodeActions(context: CodeFixContext): CodeFixAction[] | undefined;
Dservices.ts1972 …tions: FormatCodeSettings, preferences: UserPreferences = emptyOptions): readonly CodeFixAction[] {
/third_party/typescript/src/testRunner/unittests/tsserver/
DduplicatePackages.ts34 assert.deepEqual<readonly protocol.CodeFixAction[] | undefined>(response, [
DdynamicFiles.ts49 assert.deepEqual<readonly protocol.CodeFixAction[] | undefined>(response, [
DprojectReferences.ts2596 }).response as protocol.CodeFixAction[];
/third_party/typescript/lib/
Dprotocol.d.ts1517 body?: CodeFixAction[];
1531 interface CodeFixAction extends CodeAction { interface
Dtsserverlibrary.d.ts5609 …mber[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
5786 interface CodeFixAction extends CodeAction { interface
8094 body?: CodeFixAction[];
8108 interface CodeFixAction extends CodeAction {
Dtypescript.d.ts5609 …mber[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
5786 interface CodeFixAction extends CodeAction { interface
DtypescriptServices.d.ts5609 …mber[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
5786 interface CodeFixAction extends CodeAction { interface
/third_party/typescript/src/server/
Dprotocol.ts2062 body?: CodeFixAction[];
2079 export interface CodeFixAction extends CodeAction { interface
Dsession.ts2195 …uestArgs, simplifiedResult: boolean): readonly protocol.CodeFixAction[] | readonly CodeFixAction[]…
2254 …escription, changes, commands, fixId, fixAllDescription }: CodeFixAction): protocol.CodeFixAction {
/third_party/typescript/src/harness/
Dclient.ts624 …ile: string, start: number, end: number, errorCodes: readonly number[]): readonly CodeFixAction[] {
630 …return response.body!.map<CodeFixAction>(({ fixName, description, changes, commands, fixId, fixAll…
DfourslashImpl.ts2969 …references: ts.UserPreferences = ts.emptyOptions, position?: number): readonly ts.CodeFixAction[] {
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts5852 …mber[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
6029 interface CodeFixAction extends CodeAction { interface
8343 body?: CodeFixAction[];
8357 interface CodeFixAction extends CodeAction {
Dtypescript.d.ts5852 …mber[], formatOptions: FormatCodeSettings, preferences: UserPreferences): readonly CodeFixAction[];
6029 interface CodeFixAction extends CodeAction { interface