Home
last modified time | relevance | path

Searched refs:NUMBER1 (Results 1 – 25 of 57) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DdecrementOperatorWithNumberTypeInvalidOperations.js4 var NUMBER1: number[] = [1, 2]; variable
19 var ResultIsNumber1 = --NUMBER1;
20 var ResultIsNumber2 = NUMBER1--;
42 --NUMBER1;
46 NUMBER1--;
52 var NUMBER1 = [1, 2]; variable
65 var ResultIsNumber1 = --NUMBER1;
66 var ResultIsNumber2 = NUMBER1--;
83 --NUMBER1;
86 NUMBER1--;
DincrementOperatorWithNumberTypeInvalidOperations.js4 var NUMBER1: number[] = [1, 2]; variable
19 var ResultIsNumber1 = ++NUMBER1;
20 var ResultIsNumber2 = NUMBER1++;
42 ++NUMBER1;
46 NUMBER1++;
52 var NUMBER1 = [1, 2]; variable
65 var ResultIsNumber1 = ++NUMBER1;
66 var ResultIsNumber2 = NUMBER1++;
83 ++NUMBER1;
86 NUMBER1++;
DincrementOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
70 var ResultIsNumber7 = NUMBER1[0]++;
72 >NUMBER1[0]++ : number
73 >NUMBER1[0] : number
74 >NUMBER1 : number[]
82 ++NUMBER1[0];
83 >++NUMBER1[0] : number
84 >NUMBER1[0] : number
85 >NUMBER1 : number[]
[all …]
DdecrementOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
70 var ResultIsNumber7 = NUMBER1[0]--;
72 >NUMBER1[0]-- : number
73 >NUMBER1[0] : number
74 >NUMBER1 : number[]
82 --NUMBER1[0];
83 >--NUMBER1[0] : number
84 >NUMBER1[0] : number
85 >NUMBER1 : number[]
[all …]
DtypeofOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsString2 = typeof NUMBER1;
30 var ResultIsString8 = typeof NUMBER1[0];
42 typeof NUMBER1;
52 x: typeof NUMBER1;
63 var NUMBER1 = [1, 2]; variable
77 var ResultIsString2 = typeof NUMBER1;
85 var ResultIsString8 = typeof NUMBER1[0];
95 typeof NUMBER1;
104 x: typeof NUMBER1;
DdecrementOperatorWithNumberTypeInvalidOperations.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
39 var ResultIsNumber1 = --NUMBER1;
41 >--NUMBER1 : number
42 >NUMBER1 : number[]
44 var ResultIsNumber2 = NUMBER1--;
46 >NUMBER1-- : number
47 >NUMBER1 : number[]
150 --NUMBER1;
151 >--NUMBER1 : number
[all …]
DincrementOperatorWithNumberTypeInvalidOperations.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
39 var ResultIsNumber1 = ++NUMBER1;
41 >++NUMBER1 : number
42 >NUMBER1 : number[]
44 var ResultIsNumber2 = NUMBER1++;
46 >NUMBER1++ : number
47 >NUMBER1 : number[]
150 ++NUMBER1;
151 >++NUMBER1 : number
[all …]
DdecrementOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
26 var ResultIsNumber7 = NUMBER1[0]--;
31 --NUMBER1[0];
37 NUMBER1[0]--;
45 var NUMBER1 = [1, 2]; variable
63 var ResultIsNumber7 = NUMBER1[0]--;
66 --NUMBER1[0];
71 NUMBER1[0]--;
DincrementOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
26 var ResultIsNumber7 = NUMBER1[0]++;
31 ++NUMBER1[0];
37 NUMBER1[0]++;
45 var NUMBER1 = [1, 2]; variable
63 var ResultIsNumber7 = NUMBER1[0]++;
66 ++NUMBER1[0];
71 NUMBER1[0]++;
DplusOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsNumber2 = +NUMBER1;
30 var ResultIsNumber8 = +NUMBER1[0];
38 +NUMBER1;
47 var NUMBER1 = [1, 2]; variable
61 var ResultIsNumber2 = +NUMBER1;
69 var ResultIsNumber8 = +NUMBER1[0];
76 +NUMBER1;
DnegateOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsNumber2 = -NUMBER1;
30 var ResultIsNumber8 = -NUMBER1[0];
38 -NUMBER1;
47 var NUMBER1 = [1, 2]; variable
61 var ResultIsNumber2 = -NUMBER1;
69 var ResultIsNumber8 = -NUMBER1[0];
76 -NUMBER1;
DbitwiseNotOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsNumber2 = ~NUMBER1;
30 var ResultIsNumber8 = ~NUMBER1[0];
41 ~NUMBER1;
50 var NUMBER1 = [1, 2]; variable
64 var ResultIsNumber2 = ~NUMBER1;
72 var ResultIsNumber8 = ~NUMBER1[0];
81 ~NUMBER1;
DdeleteOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsBoolean2 = delete NUMBER1;
30 var ResultIsBoolean8 = delete NUMBER1[0];
42 delete NUMBER1;
51 var NUMBER1 = [1, 2]; variable
65 var ResultIsBoolean2 = delete NUMBER1;
73 var ResultIsBoolean8 = delete NUMBER1[0];
83 delete NUMBER1;
DlogicalNotOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsBoolean2 = !NUMBER1;
30 var ResultIsBoolean8 = !NUMBER1[0];
42 !NUMBER1;
51 var NUMBER1 = [1, 2]; variable
65 var ResultIsBoolean2 = !NUMBER1;
73 var ResultIsBoolean8 = !NUMBER1[0];
83 !NUMBER1;
DvoidOperatorWithNumberType.js4 var NUMBER1: number[] = [1, 2]; variable
20 var ResultIsAny2 = void NUMBER1;
30 var ResultIsAny8 = void NUMBER1[0];
42 void NUMBER1;
51 var NUMBER1 = [1, 2]; variable
65 var ResultIsAny2 = void NUMBER1;
73 var ResultIsAny8 = void NUMBER1[0];
83 void NUMBER1;
DincrementOperatorWithNumberTypeInvalidOperations.symbols6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
33 var ResultIsNumber1 = ++NUMBER1;
35 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
37 var ResultIsNumber2 = NUMBER1++;
39 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
105 ++NUMBER1;
106 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
112 NUMBER1++;
113 >NUMBER1 : Symbol(NUMBER1, Decl(incrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
DdecrementOperatorWithNumberTypeInvalidOperations.symbols6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
33 var ResultIsNumber1 = --NUMBER1;
35 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
37 var ResultIsNumber2 = NUMBER1--;
39 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
105 --NUMBER1;
106 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
112 NUMBER1--;
113 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberTypeInvalidOperations.ts, 2, 3))
DnegateOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
44 var ResultIsNumber2 = -NUMBER1;
46 >-NUMBER1 : number
47 >NUMBER1 : number[]
90 var ResultIsNumber8 = -NUMBER1[0];
92 >-NUMBER1[0] : number
93 >NUMBER1[0] : number
94 >NUMBER1 : number[]
128 -NUMBER1;
[all …]
DplusOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
44 var ResultIsNumber2 = +NUMBER1;
46 >+NUMBER1 : number
47 >NUMBER1 : number[]
90 var ResultIsNumber8 = +NUMBER1[0];
92 >+NUMBER1[0] : number
93 >NUMBER1[0] : number
94 >NUMBER1 : number[]
128 +NUMBER1;
[all …]
DbitwiseNotOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
44 var ResultIsNumber2 = ~NUMBER1;
46 >~NUMBER1 : number
47 >NUMBER1 : number[]
90 var ResultIsNumber8 = ~NUMBER1[0];
92 >~NUMBER1[0] : number
93 >NUMBER1[0] : number
94 >NUMBER1 : number[]
141 ~NUMBER1;
[all …]
DlogicalNotOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
44 var ResultIsBoolean2 = !NUMBER1;
46 >!NUMBER1 : boolean
47 >NUMBER1 : number[]
90 var ResultIsBoolean8 = !NUMBER1[0];
92 >!NUMBER1[0] : boolean
93 >NUMBER1[0] : number
94 >NUMBER1 : number[]
145 !NUMBER1;
[all …]
DdeleteOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
44 var ResultIsBoolean2 = delete NUMBER1;
46 >delete NUMBER1 : boolean
47 >NUMBER1 : number[]
90 var ResultIsBoolean8 = delete NUMBER1[0];
92 >delete NUMBER1[0] : boolean
93 >NUMBER1[0] : number
94 >NUMBER1 : number[]
145 delete NUMBER1;
[all …]
DvoidOperatorWithNumberType.types6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : number[]
44 var ResultIsAny2 = void NUMBER1;
46 >void NUMBER1 : undefined
47 >NUMBER1 : number[]
90 var ResultIsAny8 = void NUMBER1[0];
92 >void NUMBER1[0] : undefined
93 >NUMBER1[0] : number
94 >NUMBER1 : number[]
145 void NUMBER1;
[all …]
DdecrementOperatorWithNumberType.symbols6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3))
60 var ResultIsNumber7 = NUMBER1[0]--;
62 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3))
68 --NUMBER1[0];
69 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3))
92 NUMBER1[0]--;
93 >NUMBER1 : Symbol(NUMBER1, Decl(decrementOperatorWithNumberType.ts, 2, 3))
DnegateOperatorWithNumberType.symbols6 var NUMBER1: number[] = [1, 2];
7 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3))
37 var ResultIsNumber2 = -NUMBER1;
39 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3))
70 var ResultIsNumber8 = -NUMBER1[0];
72 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3))
94 -NUMBER1;
95 >NUMBER1 : Symbol(NUMBER1, Decl(negateOperatorWithNumberType.ts, 2, 3))

123