Home
last modified time | relevance | path

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

12

/third_party/typescript/tests/baselines/reference/
DescapedIdentifiers.types88 class classType\u0032 {
89 >classType\u0032 : classType\u0032
107 var classType1Object2 = new classType\u0031();
109 >new classType\u0031() : classType1
110 >classType\u0031 : typeof classType1
120 >classType2Object1 : classType\u0032
121 >new classType2() : classType\u0032
122 >classType2 : typeof classType\u0032
127 >classType2Object1 : classType\u0032
131 var classType2Object2 = new classType\u0032();
[all …]
DescapedIdentifiers.js40 class classType\u0032 {
46 var classType1Object2 = new classType\u0031();
50 var classType2Object2 = new classType\u0032();
157 var classType\u0032 = /** @class */ (function () {
158 function classType\u0032() {
160 return classType\u0032;
164 var classType1Object2 = new classType\u0031();
168 var classType2Object2 = new classType\u0032();
DparserRealSource7.js35 function addPrototypeField(classType: Type, ast: AST, context: TypeCollectionContext) {
39 field.typeLink.type = classType.instanceType;
47 classType.members.addPublicMember("prototype", fieldSymbol);
294 var classType: Type; variable
341 classType = new Type(); variable
342 classType.setHasImplementation();
345 classType.instanceType = instanceType;
346classType.members = new ScopedMembers(new DualStringHashTable(new StringHashTable(), new StringHas…
347classType.ambientMembers = new ScopedMembers(new DualStringHashTable(new StringHashTable(), new St…
348 addPrototypeField(classType, classDecl, context);
[all …]
DparserRealSource8.js19 classType: Type,
24 chain.classType = classType;
109 var classType = ast.type;
111 if (classType) {
112 var classSym = classType.symbol;
113 memberScope = <SymbolTableScope>context.typeFlow.checker.scopeOf(classType);
115 aggScope = new SymbolAggregateScope(classType.symbol);
119 classType.containedScope = aggScope;
120 classType.memberScope = memberScope;
122 var instanceType = classType.instanceType;
[all …]
DescapedIdentifiers.symbols74 class classType\u0032 {
75 >classType\u0032 : Symbol(classType\u0032, Decl(escapedIdentifiers.ts, 37, 1))
78 >foo2 : Symbol(classType\u0032.foo2, Decl(escapedIdentifiers.ts, 38, 23))
90 var classType1Object2 = new classType\u0031();
92 >classType\u0031 : Symbol(classType1, Decl(escapedIdentifiers.ts, 31, 26))
101 >classType2 : Symbol(classType\u0032, Decl(escapedIdentifiers.ts, 37, 1))
104 >classType2Object1.foo2 : Symbol(classType\u0032.foo2, Decl(escapedIdentifiers.ts, 38, 23))
106 >foo2 : Symbol(classType\u0032.foo2, Decl(escapedIdentifiers.ts, 38, 23))
108 var classType2Object2 = new classType\u0032();
110 >classType\u0032 : Symbol(classType\u0032, Decl(escapedIdentifiers.ts, 37, 1))
[all …]
DparserRealSource7.symbols90 function addPrototypeField(classType: Type, ast: AST, context: TypeCollectionContext) {
92 >classType : Symbol(classType, Decl(parserRealSource7.ts, 33, 31))
106 field.typeLink.type = classType.instanceType;
108 >classType : Symbol(classType, Decl(parserRealSource7.ts, 33, 31))
131 classType.members.addPublicMember("prototype", fieldSymbol);
132 >classType : Symbol(classType, Decl(parserRealSource7.ts, 33, 31))
805 var classType: Type;
806 >classType : Symbol(classType, Decl(parserRealSource7.ts, 292, 11))
925 classType = new Type();
926 >classType : Symbol(classType, Decl(parserRealSource7.ts, 292, 11))
[all …]
DparserRealSource7.types132 function addPrototypeField(classType: Type, ast: AST, context: TypeCollectionContext) {
133 >addPrototypeField : (classType: any, ast: any, context: any) => void
134 >classType : any
160 field.typeLink.type = classType.instanceType;
161 >field.typeLink.type = classType.instanceType : any
167 >classType.instanceType : any
168 >classType : any
221 classType.members.addPublicMember("prototype", fieldSymbol);
222 >classType.members.addPublicMember("prototype", fieldSymbol) : any
223 >classType.members.addPublicMember : any
[all …]
DparserRealSource8.types25 >pushAssignScope : (scope: any, context: AssignScopeContext, type: any, classType: any, fnc: any) =…
34 classType: Type,
35 >classType : any
57 chain.classType = classType;
58 >chain.classType = classType : any
59 >chain.classType : any
61 >classType : any
62 >classType : any
339 >pushAssignScope : (scope: any, context: AssignScopeContext, type: any, classType: any, fnc: any) =…
424 var classType = ast.type;
[all …]
DparserRealSource6.js100 classType: Type,
105 chain.classType = classType;
311 …bientValueMembers, enclosedTypes, ambientEnclosedTypes, context, thisType, classType, moduleDecl) { argument
315 chain.classType = classType;
DparserRealSource8.symbols35 classType: Type,
36 >classType : Symbol(classType, Decl(parserRealSource8.ts, 16, 19))
52 chain.classType = classType;
54 >classType : Symbol(classType, Decl(parserRealSource8.ts, 16, 19))
305 var classType = ast.type;
306 >classType : Symbol(classType, Decl(parserRealSource8.ts, 107, 11))
309 if (classType) {
310 >classType : Symbol(classType, Decl(parserRealSource8.ts, 107, 11))
312 var classSym = classType.symbol;
314 >classType : Symbol(classType, Decl(parserRealSource8.ts, 107, 11))
[all …]
DparserRealSource6.types331 …bientEnclosedTypes: any, context: TypeCollectionContext, thisType: any, classType: any, moduleDecl…
352 classType: Type,
353 >classType : any
386 chain.classType = classType;
387 >chain.classType = classType : any
388 >chain.classType : any
390 >classType : any
391 >classType : any
DparserRealSource8.errors.txt163 classType: Type,
174 chain.classType = classType;
283 var classType = ast.type;
285 if (classType) {
286 var classSym = classType.symbol;
287 memberScope = <SymbolTableScope>context.typeFlow.checker.scopeOf(classType);
291 aggScope = new SymbolAggregateScope(classType.symbol);
297 classType.containedScope = aggScope;
298 classType.memberScope = memberScope;
300 var instanceType = classType.instanceType;
[all …]
DparserRealSource7.errors.txt358 function addPrototypeField(classType: Type, ast: AST, context: TypeCollectionContext) {
372 field.typeLink.type = classType.instanceType;
386 classType.members.addPublicMember("prototype", fieldSymbol);
823 var classType: Type;
900 classType = new Type();
903 classType.setHasImplementation();
908 classType.instanceType = instanceType;
909classType.members = new ScopedMembers(new DualStringHashTable(new StringHashTable(), new StringHas…
918classType.ambientMembers = new ScopedMembers(new DualStringHashTable(new StringHashTable(), new St…
927 addPrototypeField(classType, classDecl, context);
[all …]
DparserRealSource6.symbols283 classType: Type,
284 >classType : Symbol(classType, Decl(parserRealSource6.ts, 97, 23))
309 chain.classType = classType;
311 >classType : Symbol(classType, Decl(parserRealSource6.ts, 97, 23))
DparserRealSource6.errors.txt230 classType: Type,
245 chain.classType = classType;
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource7.ts34 function addPrototypeField(classType: Type, ast: AST, context: TypeCollectionContext) {
38 field.typeLink.type = classType.instanceType;
46 classType.members.addPublicMember("prototype", fieldSymbol);
293 var classType: Type;
340 classType = new Type();
341 classType.setHasImplementation();
344 classType.instanceType = instanceType;
345classType.members = new ScopedMembers(new DualStringHashTable(new StringHashTable(), new StringHas…
346classType.ambientMembers = new ScopedMembers(new DualStringHashTable(new StringHashTable(), new St…
347 addPrototypeField(classType, classDecl, context);
[all …]
DparserRealSource8.ts18 classType: Type,
23 chain.classType = classType;
108 var classType = ast.type;
110 if (classType) {
111 var classSym = classType.symbol;
112 memberScope = <SymbolTableScope>context.typeFlow.checker.scopeOf(classType);
114 aggScope = new SymbolAggregateScope(classType.symbol);
118 classType.containedScope = aggScope;
119 classType.memberScope = memberScope;
121 var instanceType = classType.instanceType;
[all …]
DparserRealSource6.ts99 classType: Type,
104 chain.classType = classType;
/third_party/typescript/tests/cases/compiler/
DescapedIdentifiers.ts42 class classType\u0032 { class
48 var classType1Object2 = new classType\u0031();
52 var classType2Object2 = new classType\u0032();
/third_party/typescript/src/services/codefixes/
DfixClassIncorrectlyImplementsInterface.ts56 const classType = checker.getTypeAtLocation(classDeclaration); constant
59 if (!classType.getNumberIndexType()) {
62 if (!classType.getStringIndexType()) {
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dprefer-readonly.ts279 private readonly classType: ts.Type; property in ClassScope
289 this.classType = checker.getTypeAtLocation(classNode);
325 !typeIsOrHasBaseType(modifierType, this.classType)
/third_party/flutter/skia/tests/
DGrTRecorderTest.cpp222 ClassType classType = order.next(); in test_subclasses_iter() local
224 REPORTER_ASSERT(reporter, classType == iter->getType()); in test_subclasses_iter()
/third_party/typescript/src/compiler/
Dchecker.ts6943 const classType = getDeclaredTypeOfClassOrInterface(symbol);
6944 const baseTypes = getBaseTypes(classType);
6947 || mapDefined(getImplementsTypes(classType), serializeImplementedType);
6957 …const symbolProps = getNonInterhitedProperties(classType, baseTypes, getPropertiesOfType(classType
6999 const indexSignatures = serializeIndexSignatures(classType, baseTypes[0]);
8019 const classType = <InterfaceType>getDeclaredTypeOfSymbol(getParentOfSymbol(prototype)!);
8020 …return classType.typeParameters ? createTypeReference(<GenericType>classType, map(classType.typePa…
10344 function getDefaultConstructSignatures(classType: InterfaceType): Signature[] {
10345 const baseConstructorType = getBaseConstructorTypeOfClass(classType);
10347 const declaration = getClassLikeDeclarationOfSymbol(classType.symbol);
[all …]
/third_party/typescript/lib/
Dtsc.js41226 var classType = getDeclaredTypeOfClassOrInterface(symbol);
41227 var baseTypes = getBaseTypes(classType);
41230 || ts.mapDefined(getImplementsTypes(classType), serializeImplementedType);
41237 …var symbolProps = getNonInterhitedProperties(classType, baseTypes, getPropertiesOfType(classType));
41258 var indexSignatures = serializeIndexSignatures(classType, baseTypes[0]);
41943 var classType = getDeclaredTypeOfSymbol(getParentOfSymbol(prototype));
41944 …return classType.typeParameters ? createTypeReference(classType, ts.map(classType.typeParameters, …
43821 function getDefaultConstructSignatures(classType) { argument
43822 var baseConstructorType = getBaseConstructorTypeOfClass(classType);
43824 var declaration = ts.getClassLikeDeclarationOfSymbol(classType.symbol);
[all …]
DtypingsInstaller.js50075 var classType = getDeclaredTypeOfClassOrInterface(symbol);
50076 var baseTypes = getBaseTypes(classType);
50079 || ts.mapDefined(getImplementsTypes(classType), serializeImplementedType);
50086 …var symbolProps = getNonInterhitedProperties(classType, baseTypes, getPropertiesOfType(classType));
50123 var indexSignatures = serializeIndexSignatures(classType, baseTypes[0]);
50977 var classType = getDeclaredTypeOfSymbol(getParentOfSymbol(prototype));
50978 …return classType.typeParameters ? createTypeReference(classType, ts.map(classType.typeParameters, …
53153 function getDefaultConstructSignatures(classType) { argument
53154 var baseConstructorType = getBaseConstructorTypeOfClass(classType);
53156 var declaration = ts.getClassLikeDeclarationOfSymbol(classType.symbol);
[all …]

12