Home
last modified time | relevance | path

Searched refs:NUMBER (Results 1 – 25 of 242) sorted by relevance

12345678910

/third_party/typescript/tests/baselines/reference/
DcommaOperatorWithSecondOperandNumberType.types8 var NUMBER: number;
9 >NUMBER : number
18 ANY, NUMBER;
19 >ANY, NUMBER : number
21 >NUMBER : number
23 BOOLEAN, NUMBER;
24 >BOOLEAN, NUMBER : number
26 >NUMBER : number
28 NUMBER, NUMBER;
29 >NUMBER, NUMBER : number
[all …]
DcommaOperatorWithSecondOperandNumberType.js4 var NUMBER: number; variable
9 ANY, NUMBER;
10 BOOLEAN, NUMBER;
11 NUMBER, NUMBER;
12 STRING, NUMBER;
13 OBJECT, NUMBER;
16 var resultIsNumber1 = (ANY, NUMBER);
17 var resultIsNumber2 = (BOOLEAN, NUMBER);
18 var resultIsNumber3 = (NUMBER, NUMBER);
19 var resultIsNumber4 = (STRING, NUMBER);
[all …]
DcommaOperatorWithSecondOperandNumberType.symbols8 var NUMBER: number;
9 >NUMBER : Symbol(NUMBER, Decl(commaOperatorWithSecondOperandNumberType.ts, 2, 3))
19 ANY, NUMBER;
21 >NUMBER : Symbol(NUMBER, Decl(commaOperatorWithSecondOperandNumberType.ts, 2, 3))
23 BOOLEAN, NUMBER;
25 >NUMBER : Symbol(NUMBER, Decl(commaOperatorWithSecondOperandNumberType.ts, 2, 3))
27 NUMBER, NUMBER;
28 >NUMBER : Symbol(NUMBER, Decl(commaOperatorWithSecondOperandNumberType.ts, 2, 3))
29 >NUMBER : Symbol(NUMBER, Decl(commaOperatorWithSecondOperandNumberType.ts, 2, 3))
31 STRING, NUMBER;
[all …]
DcommaOperatorsMultipleOperators.types8 var NUMBER: number;
9 >NUMBER : number
18 ANY, BOOLEAN, NUMBER;
19 >ANY, BOOLEAN, NUMBER : number
23 >NUMBER : number
25 BOOLEAN, NUMBER, STRING;
26 >BOOLEAN, NUMBER, STRING : string
27 >BOOLEAN, NUMBER : number
29 >NUMBER : number
32 NUMBER, STRING, OBJECT;
[all …]
DbitwiseNotOperatorWithNumberType.types3 var NUMBER: number;
4 >NUMBER : number
39 var ResultIsNumber1 = ~NUMBER;
41 >~NUMBER : number
42 >NUMBER : number
111 var ResultIsNumber11 = ~(NUMBER + NUMBER);
113 >~(NUMBER + NUMBER) : number
114 >(NUMBER + NUMBER) : number
115 >NUMBER + NUMBER : number
116 >NUMBER : number
[all …]
DlogicalNotOperatorWithNumberType.types3 var NUMBER: number;
4 >NUMBER : number
39 var ResultIsBoolean1 = !NUMBER;
41 >!NUMBER : boolean
42 >NUMBER : number
111 var ResultIsBoolean11 = !(NUMBER + NUMBER);
113 >!(NUMBER + NUMBER) : boolean
114 >(NUMBER + NUMBER) : number
115 >NUMBER + NUMBER : number
116 >NUMBER : number
[all …]
DvoidOperatorWithNumberType.types3 var NUMBER: number;
4 >NUMBER : number
39 var ResultIsAny1 = void NUMBER;
41 >void NUMBER : undefined
42 >NUMBER : number
111 var ResultIsAny11 = void (NUMBER + NUMBER);
113 >void (NUMBER + NUMBER) : undefined
114 >(NUMBER + NUMBER) : number
115 >NUMBER + NUMBER : number
116 >NUMBER : number
[all …]
DdeleteOperatorWithNumberType.types3 var NUMBER: number;
4 >NUMBER : number
39 var ResultIsBoolean1 = delete NUMBER;
41 >delete NUMBER : boolean
42 >NUMBER : number
111 var ResultIsBoolean11 = delete (NUMBER + NUMBER);
113 >delete (NUMBER + NUMBER) : boolean
114 >(NUMBER + NUMBER) : number
115 >NUMBER + NUMBER : number
116 >NUMBER : number
[all …]
DcommaOperatorInvalidAssignmentType.types5 var NUMBER: number;
6 >NUMBER : number
29 resultIsBoolean = (BOOLEAN, NUMBER);
30 >resultIsBoolean = (BOOLEAN, NUMBER) : number
32 >(BOOLEAN, NUMBER) : number
33 >BOOLEAN, NUMBER : number
35 >NUMBER : number
37 resultIsNumber = (NUMBER, BOOLEAN);
38 >resultIsNumber = (NUMBER, BOOLEAN) : boolean
40 >(NUMBER, BOOLEAN) : boolean
[all …]
DcommaOperatorsMultipleOperators.js4 var NUMBER: number; variable
9 ANY, BOOLEAN, NUMBER;
10 BOOLEAN, NUMBER, STRING;
11 NUMBER, STRING, OBJECT;
18 var resultIsNumber1 = (ANY, BOOLEAN, NUMBER);
19 var resultIsString1 = (BOOLEAN, NUMBER, STRING);
20 var resultIsObject1 = (NUMBER, STRING, OBJECT);
24 ++NUMBER, STRING.charAt(0), new Object();
27 var resultIsObject2 = (++NUMBER, STRING.charAt(0), new Object());
32 var NUMBER; variable
[all …]
DtypeofOperatorWithNumberType.js3 var NUMBER: number; variable
19 var ResultIsString1 = typeof NUMBER;
33 var ResultIsString11 = typeof (NUMBER + NUMBER);
36 var ResultIsString12 = typeof typeof NUMBER;
37 var ResultIsString13 = typeof typeof typeof (NUMBER + NUMBER);
41 typeof NUMBER;
51 z: typeof NUMBER;
62 var NUMBER; variable
76 var ResultIsString1 = typeof NUMBER;
88 var ResultIsString11 = typeof (NUMBER + NUMBER);
[all …]
DbitwiseNotOperatorWithNumberType.js3 var NUMBER: number; variable
19 var ResultIsNumber1 = ~NUMBER;
33 var ResultIsNumber11 = ~(NUMBER + NUMBER);
36 var ResultIsNumber12 = ~~NUMBER;
37 var ResultIsNumber13 = ~~~(NUMBER + NUMBER);
40 ~NUMBER;
49 var NUMBER; variable
63 var ResultIsNumber1 = ~NUMBER;
75 var ResultIsNumber11 = ~(NUMBER + NUMBER);
77 var ResultIsNumber12 = ~~NUMBER;
[all …]
DvoidOperatorWithNumberType.js3 var NUMBER: number; variable
19 var ResultIsAny1 = void NUMBER;
33 var ResultIsAny11 = void (NUMBER + NUMBER);
36 var ResultIsAny12 = void void NUMBER;
37 var ResultIsAny13 = void void void (NUMBER + NUMBER);
41 void NUMBER;
50 var NUMBER; variable
64 var ResultIsAny1 = void NUMBER;
76 var ResultIsAny11 = void (NUMBER + NUMBER);
78 var ResultIsAny12 = void void NUMBER;
[all …]
DlogicalNotOperatorWithNumberType.js3 var NUMBER: number; variable
19 var ResultIsBoolean1 = !NUMBER;
33 var ResultIsBoolean11 = !(NUMBER + NUMBER);
36 var ResultIsBoolean12 = !!NUMBER;
37 var ResultIsBoolean13 = !!!(NUMBER + NUMBER);
41 !NUMBER;
50 var NUMBER; variable
64 var ResultIsBoolean1 = !NUMBER;
76 var ResultIsBoolean11 = !(NUMBER + NUMBER);
78 var ResultIsBoolean12 = !!NUMBER;
[all …]
DdeleteOperatorWithNumberType.js3 var NUMBER: number; variable
19 var ResultIsBoolean1 = delete NUMBER;
33 var ResultIsBoolean11 = delete (NUMBER + NUMBER);
36 var ResultIsBoolean12 = delete delete NUMBER;
37 var ResultIsBoolean13 = delete delete delete (NUMBER + NUMBER);
41 delete NUMBER;
50 var NUMBER; variable
64 var ResultIsBoolean1 = delete NUMBER;
76 var ResultIsBoolean11 = delete (NUMBER + NUMBER);
78 var ResultIsBoolean12 = delete delete NUMBER;
[all …]
DcommaOperatorsMultipleOperators.symbols8 var NUMBER: number;
9 >NUMBER : Symbol(NUMBER, Decl(commaOperatorsMultipleOperators.ts, 2, 3))
19 ANY, BOOLEAN, NUMBER;
22 >NUMBER : Symbol(NUMBER, Decl(commaOperatorsMultipleOperators.ts, 2, 3))
24 BOOLEAN, NUMBER, STRING;
26 >NUMBER : Symbol(NUMBER, Decl(commaOperatorsMultipleOperators.ts, 2, 3))
29 NUMBER, STRING, OBJECT;
30 >NUMBER : Symbol(NUMBER, Decl(commaOperatorsMultipleOperators.ts, 2, 3))
57 var resultIsNumber1 = (ANY, BOOLEAN, NUMBER);
61 >NUMBER : Symbol(NUMBER, Decl(commaOperatorsMultipleOperators.ts, 2, 3))
[all …]
DincrementOperatorWithNumberTypeInvalidOperations.types3 var NUMBER: number;
4 >NUMBER : number
115 var ResultIsNumber11 = ++(NUMBER + NUMBER);
117 >++(NUMBER + NUMBER) : number
118 >(NUMBER + NUMBER) : number
119 >NUMBER + NUMBER : number
120 >NUMBER : number
121 >NUMBER : number
137 var ResultIsNumber14 = (NUMBER + NUMBER)++;
139 >(NUMBER + NUMBER)++ : number
[all …]
DdecrementOperatorWithNumberTypeInvalidOperations.types3 var NUMBER: number;
4 >NUMBER : number
115 var ResultIsNumber11 = --(NUMBER + NUMBER);
117 >--(NUMBER + NUMBER) : number
118 >(NUMBER + NUMBER) : number
119 >NUMBER + NUMBER : number
120 >NUMBER : number
121 >NUMBER : number
137 var ResultIsNumber14 = (NUMBER + NUMBER)--;
139 >(NUMBER + NUMBER)-- : number
[all …]
DtypeofOperatorWithNumberType.types3 var NUMBER: number;
4 >NUMBER : number
39 var ResultIsString1 = typeof NUMBER;
41 >typeof NUMBER : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "…
42 >NUMBER : number
111 var ResultIsString11 = typeof (NUMBER + NUMBER);
113 >typeof (NUMBER + NUMBER) : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "…
114 >(NUMBER + NUMBER) : number
115 >NUMBER + NUMBER : number
116 >NUMBER : number
[all …]
DcommaOperatorInvalidAssignmentType.symbols5 var NUMBER: number;
6 >NUMBER : Symbol(NUMBER, Decl(commaOperatorInvalidAssignmentType.ts, 1, 3))
26 resultIsBoolean = (BOOLEAN, NUMBER);
29 >NUMBER : Symbol(NUMBER, Decl(commaOperatorInvalidAssignmentType.ts, 1, 3))
31 resultIsNumber = (NUMBER, BOOLEAN);
33 >NUMBER : Symbol(NUMBER, Decl(commaOperatorInvalidAssignmentType.ts, 1, 3))
36 resultIsNumber = (NUMBER, STRING);
38 >NUMBER : Symbol(NUMBER, Decl(commaOperatorInvalidAssignmentType.ts, 1, 3))
46 resultIsString = (STRING, NUMBER);
49 >NUMBER : Symbol(NUMBER, Decl(commaOperatorInvalidAssignmentType.ts, 1, 3))
DlogicalNotOperatorWithNumberType.symbols3 var NUMBER: number;
4 >NUMBER : Symbol(NUMBER, Decl(logicalNotOperatorWithNumberType.ts, 1, 3))
33 var ResultIsBoolean1 = !NUMBER;
35 >NUMBER : Symbol(NUMBER, Decl(logicalNotOperatorWithNumberType.ts, 1, 3))
84 var ResultIsBoolean11 = !(NUMBER + NUMBER);
86 >NUMBER : Symbol(NUMBER, Decl(logicalNotOperatorWithNumberType.ts, 1, 3))
87 >NUMBER : Symbol(NUMBER, Decl(logicalNotOperatorWithNumberType.ts, 1, 3))
90 var ResultIsBoolean12 = !!NUMBER;
92 >NUMBER : Symbol(NUMBER, Decl(logicalNotOperatorWithNumberType.ts, 1, 3))
94 var ResultIsBoolean13 = !!!(NUMBER + NUMBER);
[all …]
DdeleteOperatorWithNumberType.symbols3 var NUMBER: number;
4 >NUMBER : Symbol(NUMBER, Decl(deleteOperatorWithNumberType.ts, 1, 3))
33 var ResultIsBoolean1 = delete NUMBER;
35 >NUMBER : Symbol(NUMBER, Decl(deleteOperatorWithNumberType.ts, 1, 3))
84 var ResultIsBoolean11 = delete (NUMBER + NUMBER);
86 >NUMBER : Symbol(NUMBER, Decl(deleteOperatorWithNumberType.ts, 1, 3))
87 >NUMBER : Symbol(NUMBER, Decl(deleteOperatorWithNumberType.ts, 1, 3))
90 var ResultIsBoolean12 = delete delete NUMBER;
92 >NUMBER : Symbol(NUMBER, Decl(deleteOperatorWithNumberType.ts, 1, 3))
94 var ResultIsBoolean13 = delete delete delete (NUMBER + NUMBER);
[all …]
DvoidOperatorWithNumberType.symbols3 var NUMBER: number;
4 >NUMBER : Symbol(NUMBER, Decl(voidOperatorWithNumberType.ts, 1, 3))
33 var ResultIsAny1 = void NUMBER;
35 >NUMBER : Symbol(NUMBER, Decl(voidOperatorWithNumberType.ts, 1, 3))
84 var ResultIsAny11 = void (NUMBER + NUMBER);
86 >NUMBER : Symbol(NUMBER, Decl(voidOperatorWithNumberType.ts, 1, 3))
87 >NUMBER : Symbol(NUMBER, Decl(voidOperatorWithNumberType.ts, 1, 3))
90 var ResultIsAny12 = void void NUMBER;
92 >NUMBER : Symbol(NUMBER, Decl(voidOperatorWithNumberType.ts, 1, 3))
94 var ResultIsAny13 = void void void (NUMBER + NUMBER);
[all …]
/third_party/typescript/tests/cases/conformance/expressions/commaOperator/
DcommaOperatorWithSecondOperandNumberType.ts5 var NUMBER: number; variable
10 ANY, NUMBER;
11 BOOLEAN, NUMBER;
12 NUMBER, NUMBER;
13 STRING, NUMBER;
14 OBJECT, NUMBER;
17 var resultIsNumber1 = (ANY, NUMBER);
18 var resultIsNumber2 = (BOOLEAN, NUMBER);
19 var resultIsNumber3 = (NUMBER, NUMBER);
20 var resultIsNumber4 = (STRING, NUMBER);
[all …]
/third_party/python/Lib/test/
Dtest_tokenize.py3 from tokenize import (tokenize, _tokenize, untokenize, NUMBER, NAME, OP,
223 if toktype == NUMBER:
411 NUMBER '2' (1, 16) (1, 17)
415 NUMBER '2' (1, 21) (1, 22)
429 NUMBER '1' (1, 12) (1, 13)
452 NUMBER '3' (1, 23) (1, 24)
465 NUMBER '1' (1, 3) (1, 4)
467 NUMBER '1' (1, 7) (1, 8)
469 NUMBER '1' (1, 11) (1, 12)
471 NUMBER '1' (1, 16) (1, 17)
[all …]

12345678910