Home
last modified time | relevance | path

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

12

/third_party/typescript/tests/cases/fourslash/
DsignatureHelpWithTriggers02.ts13 triggerReason: {
23 triggerReason: {
33 triggerReason: {
DgenericParameterHelpTypeReferences.ts27 triggerReason: { kind: "characterTyped", triggerCharacter: "<" },
33 triggerReason: { kind: "characterTyped", triggerCharacter: "," },
Dfourslash.ts246 …refactorAvailableForTriggerReason(triggerReason: RefactorTriggerReason, name: string, action?: str…
310 …noSignatureHelpForTriggerReason(triggerReason: SignatureHelpTriggerReason, ...markers: (string | M…
311 …signatureHelpPresentForTriggerReason(triggerReason: SignatureHelpTriggerReason, ...markers: (strin…
434 …nName: string, actionDescription: string, newContent: NewFileContent, triggerReason?: RefactorTrig…
663 triggerReason?: SignatureHelpTriggerReason;
DrefactorConvertToOptionalChainExpression_EmptySpanCallArgument.ts15 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanVariableStatementBinary.ts17 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanBinaryExpression.ts17 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanConditionalReturnKeyword.ts21 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanVarKeyword.ts17 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanConditional.ts17 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanConditionalReturnStatement.ts21 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanBinaryReturnStatement.ts21 triggerReason: "invoked"
DrefactorConvertToOptionalChainExpression_EmptySpanVariableStatementConditional.ts17 triggerReason: "invoked"
/third_party/typescript/src/services/refactors/
DaddOrRemoveBracesToArrowFunction.ts29 const { file, startPosition, triggerReason } = context; constant
30 …const info = getConvertibleArrowFunctionAtPosition(file, startPosition, triggerReason === "invoked…
DgenerateGetAccessorAndSetAccessor.ts29 … context.program, context.startPosition, context.endPosition, context.triggerReason === "invoked");
DconvertImport.ts22 const info = getImportToConvert(context, context.triggerReason === "invoked");
DconvertExport.ts22 const info = getInfo(context, context.triggerReason === "invoked");
DconvertToOptionalChainExpression.ts18 const info = getInfo(context, context.triggerReason === "invoked");
DextractType.ts28 const info = getRangeToExtract(context, context.triggerReason === "invoked");
/third_party/typescript/src/services/
DsignatureHelp.ts23 …HelpItems(program: Program, sourceFile: SourceFile, position: number, triggerReason: SignatureHelp…
34 const onlyUseSyntacticOwners = !!triggerReason && triggerReason.kind === "characterTyped";
41 const isManuallyInvoked = !!triggerReason && triggerReason.kind === "invoked";
Dtypes.ts525 …rRange: number | TextRange, preferences: UserPreferences | undefined, triggerReason?: RefactorTrig…
571 triggerReason?: SignatureHelpTriggerReason; property
1505 triggerReason?: RefactorTriggerReason; property
Dservices.ts1773 …function getSignatureHelpItems(fileName: string, position: number, { triggerReason }: SignatureHel…
1778 …return SignatureHelp.getSignatureHelpItems(program, sourceFile, position, triggerReason, cancellat…
2477 …ge, preferences: UserPreferences, formatOptions?: FormatCodeSettings, triggerReason?: RefactorTrig…
2488 triggerReason,
2497 …nge: number | TextRange, preferences: UserPreferences = emptyOptions, triggerReason: RefactorTrigg…
2500 …factors(getRefactorContext(file, positionOrRange, preferences, emptyOptions, triggerReason, kind));
/third_party/typescript/src/harness/
DfourslashImpl.ts1510 …public verifySignatureHelpPresence(expectPresent: boolean, triggerReason: ts.SignatureHelpTriggerR…
1514 this.verifySignatureHelpPresence(expectPresent, triggerReason, ts.emptyArray);
1518 const actual = this.getSignatureHelp({ triggerReason });
1544 const help = this.getSignatureHelp({ triggerReason: options.triggerReason })!;
2025 …private getSignatureHelp({ triggerReason }: FourSlashInterface.VerifySignatureHelpOptions): ts.Sig…
2027 triggerReason
2135 triggerReason: {
3413 …public verifyRefactorAvailable(negative: boolean, triggerReason: ts.RefactorTriggerReason, name: s…
3414 let refactors = this.getApplicableRefactorsAtSelection(triggerReason);
3458 …ctionName, actionDescription, newContent: newContentWithRenameMarker, triggerReason }: FourSlashIn…
[all …]
DfourslashInterfaceImpl.ts214 …public refactorAvailableForTriggerReason(triggerReason: ts.RefactorTriggerReason, name: string, ac…
215 this.state.verifyRefactorAvailable(this.negative, triggerReason, name, actionName);
1585 triggerReason?: ts.RefactorTriggerReason; property
1636 readonly triggerReason?: ts.SignatureHelpTriggerReason; property
/third_party/typescript/lib/
Dprotocol.d.ts408 triggerReason?: RefactorTriggerReason;
1863 triggerReason?: SignatureHelpTriggerReason; property
/third_party/typescript/src/server/
Dprotocol.ts569 triggerReason?: RefactorTriggerReason;
2472 triggerReason?: SignatureHelpTriggerReason; property

12