Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/piex/src/image_type_recognition/
Dimage_type_recognition_lite.cc44 class TypeChecker { class
47 static bool Compare(const TypeChecker* a, const TypeChecker* b) { in Compare()
53 virtual ~TypeChecker() {} in ~TypeChecker()
148 class ArwTypeChecker : public TypeChecker {
205 class Cr2TypeChecker : public TypeChecker {
235 class CrwTypeChecker : public TypeChecker {
261 class DcrTypeChecker : public TypeChecker {
303 class DngTypeChecker : public TypeChecker {
355 class KdcTypeChecker : public TypeChecker {
391 class MosTypeChecker : public TypeChecker {
[all …]
/third_party/typescript/tests/baselines/reference/
DparserRealSource9.types13 constructor (public checker: TypeChecker) { }
14 >checker : TypeChecker
58 >this.checker : TypeChecker
60 >checker : TypeChecker
67 >this.checker : TypeChecker
69 >checker : TypeChecker
78 >this.checker : TypeChecker
80 >checker : TypeChecker
181 >this.checker : TypeChecker
183 >checker : TypeChecker
[all …]
/third_party/typescript/src/services/
DsuggestionDiagnostics.ts106 …vertToAsyncFunctionDiagnostics(node: FunctionLikeDeclaration, checker: TypeChecker, diags: Push<Di…
115 function isConvertibleFunction(node: FunctionLikeDeclaration, checker: TypeChecker) {
123 export function returnsPromise(node: FunctionLikeDeclaration, checker: TypeChecker): boolean {
133 function hasReturnStatementWithPromiseHandler(body: Block, checker: TypeChecker): boolean {
137 …export function isReturnStatementWithFixablePromiseHandler(node: Node, checker: TypeChecker): node…
142 export function isFixablePromiseHandler(node: Node, checker: TypeChecker): boolean {
182 function isFixablePromiseArgument(arg: Expression, checker: TypeChecker): boolean {
214 function canBeConvertedToClass(node: Node, checker: TypeChecker): boolean {
DgoToDefinition.ts178 function getDefinitionFromObjectLiteralElement(typeChecker: TypeChecker, node: Node) {
189 function getDefinitionFromOverriddenMember(typeChecker: TypeChecker, node: Node) {
253 …export function getTypeDefinitionAtPosition(typeChecker: TypeChecker, sourceFile: SourceFile, posi…
276 …function definitionFromType(type: Type, checker: TypeChecker, node: Node, failedAliasResolution: b…
281 …function tryGetReturnTypeOfFunction(symbol: Symbol, type: Type, checker: TypeChecker): Type | unde…
316 …function getDefinitionInfoForIndexSignatures(node: Node, checker: TypeChecker): DefinitionInfo[] |…
320 function getSymbol(node: Node, checker: TypeChecker, stopAtAlias: boolean | undefined) {
384 …function getDefinitionFromSymbol(typeChecker: TypeChecker, symbol: Symbol, node: Node, failedAlias…
422 …export function createDefinitionInfo(declaration: Declaration, checker: TypeChecker, symbol: Symbo…
430 …function createDefinitionInfoFromName(checker: TypeChecker, declaration: Declaration, symbolKind: …
[all …]
DsignatureHelp.ts74 …teOrTypeInfo({ invocation, argumentCount }: ArgumentListInfo, checker: TypeChecker, sourceFile: So…
290 …terInfo(node: Node, position: number, sourceFile: SourceFile, checker: TypeChecker): ArgumentListI…
302 …tartingToken: Node, position: number, sourceFile: SourceFile, checker: TypeChecker): ArgumentListI…
321 …tartingToken: Node, sourceFile: SourceFile, position: number, checker: TypeChecker): ContextualSig…
477 …entInfo(node: Node, position: number, sourceFile: SourceFile, checker: TypeChecker, isManuallyInvo…
511 typeChecker: TypeChecker,
564 checker: TypeChecker
572 …tem(symbol: Symbol, typeParameters: readonly TypeParameter[], checker: TypeChecker, enclosingDecla…
586 …: readonly SymbolDisplayPart[], isTypeParameterList: boolean, checker: TypeChecker, enclosingDecla…
597 …ts(candidateSignature: Signature, enclosingDeclaration: Node, checker: TypeChecker): readonly Symb…
[all …]
DimportTracker.ts15 …: readonly SourceFile[], sourceFilesSet: ReadonlySet<string>, checker: TypeChecker, cancellationTo…
45 checker: TypeChecker,
342 …mespaceReExports(sourceFileLike: SourceFileLike, name: Identifier, checker: TypeChecker): boolean {
388 …function getDirectImportsMap(sourceFiles: readonly SourceFile[], checker: TypeChecker, cancellatio…
463 …export function getImportOrExportSymbol(node: Node, symbol: Symbol, checker: TypeChecker, comingFr…
581 …function getExportEqualsLocalSymbol(importedSymbol: Symbol, checker: TypeChecker): Symbol | undefi…
631 …n getExportInfo(exportSymbol: Symbol, exportKind: ExportKind, checker: TypeChecker): ExportInfo | …
640 function skipExportSpecifierSymbol(symbol: Symbol, checker: TypeChecker): Symbol {
661 function getContainingModuleSymbol(importer: Importer, checker: TypeChecker): Symbol {
DexportInfoMap.ts50 …eFile | undefined, exportKind: ExportKind, isFromPackageJson: boolean, checker: TypeChecker): void;
242 …ame: string, symbol: Symbol, ambientModuleName: string | undefined, checker: TypeChecker): string {
361 …function forEachExternalModule(checker: TypeChecker, allSourceFiles: readonly SourceFile[], exclud…
439 …export function getDefaultLikeExportInfo(moduleSymbol: Symbol, checker: TypeChecker, compilerOptio…
447 function isImportableSymbol(symbol: Symbol, checker: TypeChecker) {
451 …function getDefaultLikeExportWorker(moduleSymbol: Symbol, checker: TypeChecker): { readonly symbol…
458 …function getDefaultExportInfoWorker(defaultExport: Symbol, checker: TypeChecker, compilerOptions: …
DnavigateTo.ts11 …export function getNavigateToItems(sourceFiles: readonly SourceFile[], checker: TypeChecker, cance…
33 …nMatcher, name: string, declarations: readonly Declaration[], checker: TypeChecker, fileName: stri…
57 function shouldKeepItem(declaration: Declaration, checker: TypeChecker): boolean {
DfindAllReferences.ts294 …t type ToReferenceOrRenameEntry<T> = (entry: Entry, originalNode: Node, checker: TypeChecker) => T;
312 …function definitionToReferencedSymbolDefinitionInfo(def: Definition, checker: TypeChecker, origina…
389 …function getDefinitionKindAndDisplayParts(symbol: Symbol, checker: TypeChecker, node: Node): { dis…
397 …export function toRenameLocation(entry: Entry, originalNode: Node, checker: TypeChecker, providePr…
439 …function getPrefixAndSuffixText(entry: Entry, originalNode: Node, checker: TypeChecker): PrefixAnd…
486 function toImplementationLocation(entry: Entry, checker: TypeChecker): ImplementationLocation {
500 …function implementationKindDisplayParts(node: Node, checker: TypeChecker): { kind: ScriptElementKi…
751 …MergedAliasedSymbolOfNamespaceExportDeclaration(node: Node, symbol: Symbol, checker: TypeChecker) {
949 …: readonly SourceFile[], sourceFilesSet: ReadonlySet<string>, checker: TypeChecker, cancellationTo…
1007 …astExportOrImportSpecifierOrUnion(symbol: Symbol, node: Node, checker: TypeChecker, useLocalSymbol…
[all …]
DcallHierarchy.ts93 …function getSymbolOfCallHierarchyDeclaration(typeChecker: TypeChecker, node: Exclude<CallHierarchy…
173 …function findImplementation(typeChecker: TypeChecker, node: Extract<CallHierarchyDeclaration, Func…
174 …function findImplementation(typeChecker: TypeChecker, node: FunctionLikeDeclaration): FunctionLike…
175 …function findImplementation(typeChecker: TypeChecker, node: FunctionLikeDeclaration): FunctionLike…
192 …function findAllInitialDeclarations(typeChecker: TypeChecker, node: Exclude<CallHierarchyDeclarati…
214 …function findImplementationOrAllInitialDeclarations(typeChecker: TypeChecker, node: CallHierarchyD…
480 …function collectCallSitesOfFunctionLikeDeclaration(typeChecker: TypeChecker, node: FunctionLikeDec…
DstringCompletions.ts101 …SourceFile, position: number, contextToken: Node | undefined, checker: TypeChecker, options: Compi…
107 … completion: StringLiteralCompletion, sourceFile: SourceFile, checker: TypeChecker, cancellationTo…
166 …e: SourceFile, node: StringLiteralLike, position: number, typeChecker: TypeChecker, compilerOption…
288 …Like, argumentInfo: SignatureHelp.ArgumentInfoForCompletions, checker: TypeChecker): StringLiteral…
317 …function stringLiteralCompletionsForObjectLiteral(checker: TypeChecker, objectLiteralExpression: O…
366 …pilerOptions: CompilerOptions, host: LanguageServiceHost, typeChecker: TypeChecker, preferences: U…
370 …pilerOptions: CompilerOptions, host: LanguageServiceHost, typeChecker: TypeChecker, preferences: U…
640 typeChecker: TypeChecker,
853 …ions(fragment: string, fragmentDirectory: string | undefined, checker: TypeChecker): readonly stri…
DjsDoc.ts86 …mmentsFromDeclarations(declarations: readonly Declaration[], checker?: TypeChecker): SymbolDisplay…
138 …n getJsDocTagsFromDeclarations(declarations?: Declaration[], checker?: TypeChecker): JSDocTagInfo[…
157 …ayPartsFromComment(comment: string | readonly JSDocComment[], checker: TypeChecker | undefined): S…
167 …function getCommentDisplayParts(tag: JSDocTag, checker?: TypeChecker): SymbolDisplayPart[] | undef…
Drename.ts16 typeChecker: TypeChecker,
77 checker: TypeChecker,
/third_party/typescript/src/services/codefixes/
DaddMissingAwait.ts69 …CodeFixAllContext, expression: Expression, errorCode: number, checker: TypeChecker, trackChanges: …
90 …CodeFixAllContext, expression: Expression, errorCode: number, checker: TypeChecker, trackChanges: …
120 checker: TypeChecker,
175 …function getIdentifiersFromErrorSpanExpression(expression: Node, checker: TypeChecker): Identifier…
199 …ce: Identifier, diagnostics: readonly Diagnostic[], sourceFile: SourceFile, checker: TypeChecker) {
228 …ges.ChangeTracker, errorCode: number, sourceFile: SourceFile, checker: TypeChecker, insertionSite:…
DaddOptionalPropertyUndefined.ts25 function getPropertiesToAdd(file: SourceFile, span: TextSpan, checker: TypeChecker): Symbol[] {
40 …function shouldUseParentTypeOfProperty(sourceNode: Node, targetNode: Node, checker: TypeChecker): …
50 …function getSourceTarget(errorNode: Node | undefined, checker: TypeChecker): { source: Node, targe…
DconvertToAsyncFunction.ts41 readonly checker: TypeChecker;
53 … textChanges.ChangeTracker, sourceFile: SourceFile, position: number, checker: TypeChecker): void {
110 …function getReturnStatementsWithPromiseHandlers(body: Block, checker: TypeChecker): readonly Retur…
121 …function getAllPromiseExpressionsToReturn(func: FunctionLikeDeclaration, checker: TypeChecker): Se…
150 …function isPromiseReturningCallExpression<Name extends string>(node: Node, checker: TypeChecker, n…
164 …eturningCallExpression<"then" | "catch" | "finally">, callback: Expression, checker: TypeChecker) {
192 function isPromiseTypedExpression(node: Node, checker: TypeChecker): node is Expression {
202 …function renameCollidingVarNames(nodeToRename: FunctionLikeDeclaration, checker: TypeChecker, synt…
676 …function getPossiblyAwaitedRightHandSide(checker: TypeChecker, type: Type, expr: Expression): Awai…
681 function getLastCallSignature(type: Type, checker: TypeChecker): Signature | undefined {
DconvertToEsModule.ts42 …function convertFileToEsModule(sourceFile: SourceFile, checker: TypeChecker, changes: textChanges.…
79 …function collectExportRenames(sourceFile: SourceFile, checker: TypeChecker, identifiers: Identifie…
118 checker: TypeChecker,
156 checker: TypeChecker,
219 checker: TypeChecker,
306 …function convertReExportAll(reExported: StringLiteralLike, checker: TypeChecker): [readonly Statem…
401 checker: TypeChecker,
441 …rImport(name: Identifier, moduleSpecifier: StringLiteralLike, checker: TypeChecker, identifiers: I…
DfixUnusedIdentifier.ts223 … SourceFile, token: Node, changes: textChanges.ChangeTracker, checker: TypeChecker, sourceFiles: r…
235 …, changes: textChanges.ChangeTracker, sourceFile: SourceFile, checker: TypeChecker, sourceFiles: r…
251 checker: TypeChecker,
271 …function isNotProvidedArguments(parameter: ParameterDeclaration, checker: TypeChecker, sourceFiles…
277 …function mayDeleteParameter(checker: TypeChecker, sourceFile: SourceFile, parameter: ParameterDecl…
332 … function isCallbackLike(checker: TypeChecker, sourceFile: SourceFile, name: Identifier): boolean {
DreturnValueCorrect.ts75 …function createObjectTypeFromLabeledExpression(checker: TypeChecker, label: Identifier, expression…
82 …function getFixInfo(checker: TypeChecker, declaration: FunctionLikeDeclaration, expectType: Type, …
134 …function checkFixedAssignableTo(checker: TypeChecker, declaration: FunctionLikeDeclaration, exprTy…
164 …function getInfo(checker: TypeChecker, sourceFile: SourceFile, position: number, errorCode: number…
DfixJSDocTypes.ts42 …racker, sourceFile: SourceFile, oldTypeNode: TypeNode, newType: Type, checker: TypeChecker): void {
46 …function getInfo(sourceFile: SourceFile, pos: number, checker: TypeChecker): { readonly typeNode: …
DaddMissingConst.ts79 …function arrayElementCouldBeVariableDeclaration(expression: Expression, checker: TypeChecker): boo…
98 function expressionCouldBeVariableDeclaration(expression: Node, checker: TypeChecker): boolean {
/third_party/node/deps/v8/src/torque/
Dtypes.h97 struct TypeChecker { struct
142 virtual std::vector<TypeChecker> GetTypeCheckers() const { return {}; } in GetTypeCheckers()
284 std::vector<TypeChecker> GetTypeCheckers() const override;
358 std::vector<TypeChecker> GetTypeCheckers() const override { in GetTypeCheckers()
471 std::vector<TypeChecker> GetTypeCheckers() const override { in GetTypeCheckers()
472 std::vector<TypeChecker> result; in GetTypeCheckers()
474 std::vector<TypeChecker> sub_result = member->GetTypeCheckers(); in GetTypeCheckers()
508 std::vector<TypeChecker> GetTypeCheckers() const override { in GetTypeCheckers()
569 std::vector<TypeChecker> GetTypeCheckers() const override { in GetTypeCheckers()
/third_party/typescript/src/services/refactors/
DconvertParamsToDestructuredObject.ts220 function getSymbolForContextualType(node: Node, checker: TypeChecker): Symbol | undefined {
324 …eclarationAtPosition(file: SourceFile, startPosition: number, checker: TypeChecker): ValidFunction…
354 checker: TypeChecker): functionDeclaration is ValidFunctionDeclaration {
381 …SingleImplementation(functionDeclaration: FunctionLikeDeclaration, checker: TypeChecker): boolean {
395 checker: TypeChecker): parameters is ValidParameterNodeArray {
402 checker: TypeChecker): parameterDeclaration is ValidParameterDeclaration {
DconvertToOptionalChainExpression.ts100 …function getConditionalInfo(expression: ConditionalExpression, checker: TypeChecker): OptionalChai…
260 …function convertOccurrences(checker: TypeChecker, toConvert: Expression, occurrences: Occurrence[]…
285 …function doChange(sourceFile: SourceFile, checker: TypeChecker, changes: textChanges.ChangeTracker…
/third_party/protobuf/python/google/protobuf/internal/
Dtype_checkers.py125 class TypeChecker(object): class
151 class TypeCheckerWithDefault(TypeChecker):
154 TypeChecker.__init__(self, *acceptable_types)

1234