Home
last modified time | relevance | path

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

12345678910>>...158

/third_party/typescript/tests/baselines/reference/
DasyncMethodWithSuper_es6.types17 // async method with only call/get on 'super' does not require a binding
22 super.x();
23 >super.x() : void
24 >super.x : () => void
25 >super : A
29 super.y();
30 >super.y() : void
31 >super.y : () => void
32 >super : A
36 super["x"]();
[all …]
DerrorSuperPropertyAccess.types2 //super property access in constructor of class with no base type
3 //super property access in instance member function of class with no base type
4 //super property access in instance member accessor(get and set) of class with no base type
9 var a = super.prototype;
11 >super.prototype : any
12 >super : any
15 var b = super.hasOwnProperty('');
17 >super.hasOwnProperty('') : any
18 >super.hasOwnProperty : any
19 >super : any
[all …]
DsuperErrors.types5 // super in a non class context
6 var x = super;
8 >super : any
9 >super : any
12 var y = () => super;
14 >() => super : () => any
15 >super : any
16 >super : any
19 var z = () => () => () => super;
21 >() => () => () => super : () => () => () => any
[all …]
DsuperInLambdas.types25 super();
26 >super() : void
27 >super : typeof User
29 // super call in a constructor
30 super.sayHello();
31 >super.sayHello() : void
32 >super.sayHello : () => void
33 >super : User
36 // super call in a lambda in a constructor
37 var x = () => super.sayHello();
[all …]
DerrorSuperCalls.types2 //super call in class constructor with no base type
7 super();
8 >super() : void
9 >super : any
12 //super call in class member function with no base type
16 super();
17 >super() : void
18 >super : any
21 //super call in class accessor (get and set) with no base type
25 super();
[all …]
DsuperInObjectLiterals_ES6.types4super.method(); }, get prop() { super.method(); return 10; }, set prop(v…
17 super.method();
18 >super.method() : any
19 >super.method : any
20 >super : any
27 super.method();
28 >super.method() : any
29 >super.method : any
30 >super : any
41 super.method();
[all …]
DsuperInObjectLiterals_ES5.types4super.method(); }, get prop() { super.method(); return 10; }, set prop(v…
17 super.method();
18 >super.method() : any
19 >super.method : any
20 >super : any
27 super.method();
28 >super.method() : any
29 >super.method : any
30 >super : any
41 super.method();
[all …]
DsuperAccess2.types16 xx = super;
18 >super : any
19 >super : P
22 static yy = super; // error for static initializer accessing super
24 >super : any
25 >super : any
29 constructor(public z = super, zz = super, zzz = () => super) {
31 >super : any
32 >super : any
35 >super : any
[all …]
DasyncMethodWithSuper_es5.types17 // async method with only call/get on 'super' does not require a binding
22 super.x();
23 >super.x() : void
24 >super.x : () => void
25 >super : A
29 super.y();
30 >super.y() : void
31 >super.y : () => void
32 >super : A
36 super["x"]();
[all …]
DasyncMethodWithSuper_es2017.types17 // async method with only call/get on 'super' does not require a binding
22 super.x();
23 >super.x() : void
24 >super.x : () => void
25 >super : A
29 super.y();
30 >super.y() : void
31 >super.y : () => void
32 >super : A
36 super["x"]();
[all …]
DsuperCallInNonStaticMethod.types18 super.instanceMethod();
19 >super.instanceMethod() : void
20 >super.instanceMethod : () => void
21 >super : Doing
30 >() => { super.instanceMethod(); } : () => void
32 super.instanceMethod();
33 >super.instanceMethod() : void
34 >super.instanceMethod : () => void
35 >super : Doing
45 >{ a: () => { super.instanceMethod(); }, b: super.i…
[all …]
DasyncMethodWithSuperConflict_es6.types17 // async method with only call/get on 'super' does not require a binding
30 super.x();
31 >super.x() : void
32 >super.x : () => void
33 >super : A
37 super.y();
38 >super.y() : void
39 >super.y : () => void
40 >super : A
44 super["x"]();
[all …]
Dsuper.symbols1 === tests/cases/compiler/super.ts ===
3 >Base : Symbol(Base, Decl(super.ts, 0, 0))
7 >x : Symbol(x, Decl(super.ts, 2, 11))
10 >foo : Symbol(Base.foo, Decl(super.ts, 3, 5))
16 >bar : Symbol(Base.bar, Decl(super.ts, 6, 5))
23 >Sub1 : Symbol(Sub1, Decl(super.ts, 11, 1))
24 >Base : Symbol(Base, Decl(super.ts, 0, 0))
27 >foo : Symbol(Sub1.foo, Decl(super.ts, 13, 25))
29 return "sub1" + super.foo() + super.bar();
30 >super.foo : Symbol(Base.foo, Decl(super.ts, 3, 5))
[all …]
DsuperCallInStaticMethod.types18 super.staticMethod();
19 >super.staticMethod() : void
20 >super.staticMethod : () => void
21 >super : typeof Doing
30 >() => { super.staticMethod(); } : () => void
32 super.staticMethod();
33 >super.staticMethod() : void
34 >super.staticMethod : () => void
35 >super : typeof Doing
45 >{ a: () => { super.staticMethod(); }, b: super.sta…
[all …]
DsuperPropertyAccessNoError.types2 //super.publicInstanceMemberFunction in constructor of derived class
3 //super.publicInstanceMemberFunction in instance member function of derived class
4 //super.publicInstanceMemberFunction in instance member accessor(get and set) of derived class
5 //super.publicInstanceMemberFunction in lambda in member function
6 //super.publicStaticMemberFunction in static member function of derived class
7 //super.publicStaticMemberFunction in static member accessor(get and set) of derived class
40 super();
41 >super() : void
42 >super : typeof SomeBaseClass
44 var x = super.func();
[all …]
DcheckSuperCallBeforeThisAccess.types27 let a3 = super.x; // Error
29 >super.x : number
30 >super : A
45 let a6 = () => super.x;
47 >() => super.x : () => number
48 >super.x : number
49 >super : A
57 super();
58 >super() : void
59 >super : typeof A
[all …]
DasyncMethodWithSuper_es6.symbols17 // async method with only call/get on 'super' does not require a binding
22 super.x();
23 >super.x : Symbol(A.x, Decl(asyncMethodWithSuper_es6.ts, 0, 9))
24 >super : Symbol(A, Decl(asyncMethodWithSuper_es6.ts, 0, 0))
28 super.y();
29 >super.y : Symbol(A.y, Decl(asyncMethodWithSuper_es6.ts, 2, 5))
30 >super : Symbol(A, Decl(asyncMethodWithSuper_es6.ts, 0, 0))
34 super["x"]();
35 >super : Symbol(A, Decl(asyncMethodWithSuper_es6.ts, 0, 0))
39 const a = super.x;
[all …]
DsuperPropertyAccess1.types26 super.bar();
27 >super.bar() : void
28 >super.bar : () => void
29 >super : C
32 super.x; // error
33 >super.x : number
34 >super : C
39 super();
40 >super() : void
41 >super : typeof C
[all …]
DsuperPropertyAccess2.types26 super.bar(); // OK
27 >super.bar() : void
28 >super.bar : () => void
29 >super : typeof C
32 super.x; // error
33 >super.x : any
34 >super : typeof C
39 super();
40 >super() : void
41 >super : typeof C
[all …]
DerrorSuperPropertyAccess.symbols2 //super property access in constructor of class with no base type
3 //super property access in instance member function of class with no base type
4 //super property access in instance member accessor(get and set) of class with no base type
9 var a = super.prototype;
12 var b = super.hasOwnProperty('');
19 var a = super.prototype;
22 var b = super.hasOwnProperty('');
26 m = super.prototype;
29 n = super.hasOwnProperty('');
32 //super static property access in static member function of class with no base type
[all …]
DderivedClassSuperCallsInNonConstructorMembers.types2 // error to use super calls outside a constructor
15 a: super();
24 super();
25 >super() : void
26 >super : any
33 super();
34 >super() : void
35 >super : any
46 super();
47 >super() : void
[all …]
DsuperElementAccess.types42super["m1"]("hi"); // Should be allowed, method on base protot…
43 >super["m1"]("hi") : string
44 >super["m1"] : (a: string) => string
45 >super : MyBase
49 …var l2 = super["m1"].bind(this); // Should be allowed, can access properties…
51 >super["m1"].bind(this) : any
52 >super["m1"].bind : (this: Function, thisArg: any, ...argArray: any[]) => any
53 >super["m1"] : (a: string) => string
54 >super : MyBase
59 …var x: (a: string) => string = super["m1"]; // Should be allowed, can assign to var wit…
[all …]
DsuperPropertyAccess.types42super.m1("hi"); // Should be allowed, method on base prototype
43 >super.m1("hi") : string
44 >super.m1 : (a: string) => string
45 >super : MyBase
49 …var l2 = super.m1.bind(this); // Should be allowed, can access properties as…
51 >super.m1.bind(this) : any
52 >super.m1.bind : (this: Function, thisArg: any, ...argArray: any[]) => any
53 >super.m1 : (a: string) => string
54 >super : MyBase
59 …var x: (a: string) => string = super.m1; // Should be allowed, can assign to var with c…
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dinitialize.c60 struct ext2_super_block *sb = fs->super; in calc_reserved_gdt_blocks()
94 struct ext2_super_block *super; in ext2fs_initialize() local
148 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize()
151 fs->super = super; in ext2fs_initialize()
153 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
155 #define set_field(field, default) (super->field = param->field ? \ in ext2fs_initialize()
157 #define assign_field(field) (super->field = param->field) in ext2fs_initialize()
159 super->s_magic = EXT2_SUPER_MAGIC; in ext2fs_initialize()
160 super->s_state = EXT2_VALID_FS; in ext2fs_initialize()
167 set_field(s_log_cluster_size, super->s_log_block_size+4); in ext2fs_initialize()
[all …]
Dblknum.c22 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2()
23 fs->super->s_blocks_per_group; in ext2fs_group_of_blk2()
31 return fs->super->s_first_data_block + in ext2fs_group_first_block2()
32 EXT2_GROUPS_TO_BLOCKS(fs->super, group); in ext2fs_group_first_block2()
41 ext2fs_blocks_count(fs->super) - 1 : in ext2fs_group_last_block2()
43 (fs->super->s_blocks_per_group - 1)); in ext2fs_group_last_block2()
54 num_blocks = (ext2fs_blocks_count(fs->super) - in ext2fs_group_blocks_count()
55 fs->super->s_first_data_block) % in ext2fs_group_blocks_count()
56 fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
58 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
[all …]

12345678910>>...158