Searched refs:member (Results 1 – 25 of 59) sorted by relevance
123
25 member: I;45 f `abc`.member46 AssertType(f `abc`.member, "I");48 f `abc${1}def${2}ghi`.member;49 AssertType(f `abc${1}def${2}ghi`.member, "I");67 f `abc`[0].member `abc${1}def${2}ghi`;68 AssertType(f `abc`[0].member `abc${1}def${2}ghi`, "I");69 AssertType(f `abc`[0].member, "I");74 f `abc${1}def${2}ghi`["member"].member `abc${1}def${2}ghi`;75 AssertType(f `abc${1}def${2}ghi`["member"].member `abc${1}def${2}ghi`, "I");[all …]
23 member: {34 let x = new new new f `abc${ 0 }def`.member("hello")(42) === true;36 AssertType(new new new f `abc${ 0 }def`.member("hello")(42) === true, "boolean");37 AssertType(new new new f `abc${ 0 }def`.member("hello")(42), "boolean");38 AssertType(new new f `abc${ 0 }def`.member("hello")(42), "new () => boolean");39 AssertType(new f `abc${ 0 }def`.member("hello"), "new (number) => new () => boolean");40 AssertType(f `abc${ 0 }def`.member, "new (string) => new (number) => new () => boolean");
22 member26 AssertType({ [E.member]: 0}, "{ 0: number; }");28 [E.member]: 029 AssertType([E.member], "number");30 AssertType(E.member, "E");
48 f `abc`.member49 AssertType(f `abc`.member, "any");51 f `abc${1}def${2}ghi`.member;52 AssertType(f `abc${1}def${2}ghi`.member, "any");
132 class x13 { member: () => Base[] = () => [d1, d2] } property in x13133 class x14 { member: () => Base[] = function() { property in x14142 class x15 { member: () => Base[] = function named() { 151 class x16 { member: { (): Base[]; } = () => [d1, d2] }152 class x17 { member: { (): Base[]; } = function() { 161 class x18 { member: { (): Base[]; } = function named() { 170 class x19 { member: Base[] = [d1, d2] }171 class x20 { member: Array<Base> = [d1, d2] }172 class x21 { member: { [n: number]: Base; } = [d1, d2] }173 class x22 { member: {n: Base[]; } = { n: [d1, d2] } }[all …]
96 private member: boolean, property in Foo7114 private member: boolean, property in Foo8
26 static member = async (x: string) => { };
33 this.member = {};34 AssertType(this.member = {}, "{}");35 AssertType(this.member, "any");39 this.member.a = 0;40 AssertType(this.member.a = 0, "int");41 AssertType(this.member.a, "error");42 AssertType(this.member, "{}");
26 (new C()).member.a = 1;27 AssertType((new C()).member.a = 1, "int");28 AssertType((new C()).member.a, "any");
220 typeAliasNode.type.members.forEach((member) => {221 if (!member || !member.name) {224 let memberName: PropertyName = member.name;242 interfaceNode.members.forEach((member) => {243 if (!member || !member.name) {247 let memberName: PropertyName = member.name;267 classNode.members.forEach((member) => {268 if (!member) {272 const memberName: PropertyName = member.name;278 if (isConstructorDeclaration(member) && member.parameters) {[all …]
345 private fillInFields(member: ts.PropertyDeclaration): void {346 let fieldName = jshelpers.getTextOfIdentifierOrLiteral(member.name);349 if (member.modifiers) {350 for (let modifier of member.modifiers) {375 let typeNode = member.type;376 let memberName = member.name;383 if (member.initializer != undefined) {389 private fillInMethods(member: ClassMemberFunction): void {394 if (this.typeChecker.isFromDefaultLib(member)) {398 … let funcName = member.name ? jshelpers.getTextOfIdentifierOrLiteral(member.name) : "constructor";[all …]
60 member : 1, property62 print(this.member);65 return this.member;68 this.member = n;69 print("setter", this.member);
197 void Checker::ResolvePropertiesOfObjectType(ObjectType *type, const ir::Expression *member, in ResolvePropertiesOfObjectType() argument202 if (member->IsTSPropertySignature()) { in ResolvePropertiesOfObjectType()203 binder::Variable *prop = member->AsTSPropertySignature()->Variable(); in ResolvePropertiesOfObjectType()206 …ValidateInterfaceMemberRedeclaration(type, prop, member->AsTSPropertySignature()->Key()->Start()))… in ResolvePropertiesOfObjectType()213 if (member->IsTSMethodSignature()) { in ResolvePropertiesOfObjectType()214 binder::Variable *method = member->AsTSMethodSignature()->Variable(); in ResolvePropertiesOfObjectType()217 …ValidateInterfaceMemberRedeclaration(type, method, member->AsTSMethodSignature()->Key()->Start()))… in ResolvePropertiesOfObjectType()224 if (member->IsTSSignatureDeclaration()) { in ResolvePropertiesOfObjectType()225 signatureDeclarations.push_back(member->AsTSSignatureDeclaration()); in ResolvePropertiesOfObjectType()229 ASSERT(member->IsTSIndexSignature()); in ResolvePropertiesOfObjectType()[all …]
50 … for member in tqdm(desc='dayu200_xts', iterable=tar.getmembers(), total=len(tar.getmembers())):51 tar.extract(path=extract_path, member=member)
431 let member = members[index];432 if (ts.isConstructorDeclaration(member)) {433 return member;542 node.members.forEach(member => {543 switch (member.kind) {545 constructNode = member;548 if (!jshelpers.hasStaticModifier(member)) {549 classFields.push(<ts.PropertyDeclaration>member);553 if (ts.isComputedPropertyName(member.name!)) {554 … if (defineClassMember(member.name, member, PropertyKind.COMPUTED, properties, namedPropertyMap)) {[all …]
1 SyntaxError: Unexpected token [test-member-expression-2.js:17:4]
1 SyntaxError: Expected an identifier [test-member-expression-1.js:17:3]
1 SyntaxError: Primary expression expected [test-member-expression-3.js:17:9]
1 SyntaxError: Unexpected token in enum member [test-enum-declaration3.ts:18:12]
1 SyntaxError: Unexpected token in enum member [test-enum-declaration2.ts:18:5]
1 SyntaxError: Invalid left-hand side in assignment expression [test-member-expression1.ts:18:18]