Home
last modified time | relevance | path

Searched refs:BOOLEAN (Results 1 – 25 of 153) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DcommaOperatorWithSecondOperandBooleanType.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
18 ANY, BOOLEAN;
19 >ANY, BOOLEAN : boolean
21 >BOOLEAN : boolean
23 BOOLEAN, BOOLEAN;
24 >BOOLEAN, BOOLEAN : boolean
25 >BOOLEAN : boolean
26 >BOOLEAN : boolean
28 NUMBER, BOOLEAN;
[all …]
DcommaOperatorWithSecondOperandBooleanType.js3 var BOOLEAN: boolean; variable
9 ANY, BOOLEAN;
10 BOOLEAN, BOOLEAN;
11 NUMBER, BOOLEAN;
12 STRING, BOOLEAN;
13 OBJECT, BOOLEAN;
16 var resultIsBoolean1 = (ANY, BOOLEAN);
17 var resultIsBoolean2 = (BOOLEAN, BOOLEAN);
18 var resultIsBoolean3 = (NUMBER, BOOLEAN);
19 var resultIsBoolean4 = (STRING, BOOLEAN);
[all …]
DcommaOperatorWithSecondOperandBooleanType.symbols5 var BOOLEAN: boolean;
6 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorWithSecondOperandBooleanType.ts, 1, 3))
19 ANY, BOOLEAN;
21 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorWithSecondOperandBooleanType.ts, 1, 3))
23 BOOLEAN, BOOLEAN;
24 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorWithSecondOperandBooleanType.ts, 1, 3))
25 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorWithSecondOperandBooleanType.ts, 1, 3))
27 NUMBER, BOOLEAN;
29 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorWithSecondOperandBooleanType.ts, 1, 3))
31 STRING, BOOLEAN;
[all …]
DcommaOperatorInvalidAssignmentType.types2 var BOOLEAN: boolean;
3 >BOOLEAN : boolean
21 resultIsBoolean = (BOOLEAN, STRING);
22 >resultIsBoolean = (BOOLEAN, STRING) : string
24 >(BOOLEAN, STRING) : string
25 >BOOLEAN, STRING : string
26 >BOOLEAN : boolean
29 resultIsBoolean = (BOOLEAN, NUMBER);
30 >resultIsBoolean = (BOOLEAN, NUMBER) : number
32 >(BOOLEAN, NUMBER) : number
[all …]
DcommaOperatorsMultipleOperators.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
18 ANY, BOOLEAN, NUMBER;
19 >ANY, BOOLEAN, NUMBER : number
20 >ANY, BOOLEAN : boolean
22 >BOOLEAN : boolean
25 BOOLEAN, NUMBER, STRING;
26 >BOOLEAN, NUMBER, STRING : string
27 >BOOLEAN, NUMBER : number
28 >BOOLEAN : boolean
[all …]
DcommaOperatorsMultipleOperators.js3 var BOOLEAN: boolean; variable
9 ANY, BOOLEAN, NUMBER;
10 BOOLEAN, NUMBER, STRING;
13 OBJECT, ANY, BOOLEAN;
17 var resultIsBoolean1 = (OBJECT, ANY, BOOLEAN);
18 var resultIsNumber1 = (ANY, BOOLEAN, NUMBER);
19 var resultIsString1 = (BOOLEAN, NUMBER, STRING);
31 var BOOLEAN; variable
36 ANY, BOOLEAN, NUMBER;
37 BOOLEAN, NUMBER, STRING;
[all …]
DcommaOperatorInvalidAssignmentType.symbols2 var BOOLEAN: boolean;
3 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorInvalidAssignmentType.ts, 0, 3))
21 resultIsBoolean = (BOOLEAN, STRING);
23 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorInvalidAssignmentType.ts, 0, 3))
26 resultIsBoolean = (BOOLEAN, NUMBER);
28 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorInvalidAssignmentType.ts, 0, 3))
31 resultIsNumber = (NUMBER, BOOLEAN);
34 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorInvalidAssignmentType.ts, 0, 3))
41 resultIsString = (STRING, BOOLEAN);
44 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorInvalidAssignmentType.ts, 0, 3))
DcommaOperatorWithSecondOperandNumberType.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
23 BOOLEAN, NUMBER;
24 >BOOLEAN, NUMBER : number
25 >BOOLEAN : boolean
51 var resultIsNumber2 = (BOOLEAN, NUMBER);
53 >(BOOLEAN, NUMBER) : number
54 >BOOLEAN, NUMBER : number
55 >BOOLEAN : boolean
97 BOOLEAN = false, 1;
[all …]
DcommaOperatorInvalidAssignmentType.js2 var BOOLEAN: boolean; variable
11 resultIsBoolean = (BOOLEAN, STRING);
12 resultIsBoolean = (BOOLEAN, NUMBER);
14 resultIsNumber = (NUMBER, BOOLEAN);
17 resultIsString = (STRING, BOOLEAN);
22 var BOOLEAN; variable
29 resultIsBoolean = (BOOLEAN, STRING);
30 resultIsBoolean = (BOOLEAN, NUMBER);
31 resultIsNumber = (NUMBER, BOOLEAN);
33 resultIsString = (STRING, BOOLEAN);
DcommaOperatorsMultipleOperators.symbols5 var BOOLEAN: boolean;
6 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorsMultipleOperators.ts, 1, 3))
19 ANY, BOOLEAN, NUMBER;
21 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorsMultipleOperators.ts, 1, 3))
24 BOOLEAN, NUMBER, STRING;
25 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorsMultipleOperators.ts, 1, 3))
39 OBJECT, ANY, BOOLEAN;
42 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorsMultipleOperators.ts, 1, 3))
51 var resultIsBoolean1 = (OBJECT, ANY, BOOLEAN);
55 >BOOLEAN : Symbol(BOOLEAN, Decl(commaOperatorsMultipleOperators.ts, 1, 3))
[all …]
DcommaOperatorWithSecondOperandObjectType.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
30 BOOLEAN, OBJECT;
31 >BOOLEAN, OBJECT : Object
32 >BOOLEAN : boolean
58 var resultIsObject2 = (BOOLEAN, OBJECT);
60 >(BOOLEAN, OBJECT) : Object
61 >BOOLEAN, OBJECT : Object
62 >BOOLEAN : boolean
104 !BOOLEAN, []
[all …]
DcommaOperatorWithSecondOperandAnyType.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
23 BOOLEAN, ANY;
24 >BOOLEAN, ANY : any
25 >BOOLEAN : boolean
51 var resultIsAny2 = (BOOLEAN, ANY);
53 >(BOOLEAN, ANY) : any
54 >BOOLEAN, ANY : any
55 >BOOLEAN : boolean
119 !BOOLEAN, x.doSomeThing();
[all …]
DcommaOperatorWithSecondOperandStringType.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
26 BOOLEAN, STRING;
27 >BOOLEAN, STRING : string
28 >BOOLEAN : boolean
54 var resultIsString2 = (BOOLEAN, STRING);
56 >(BOOLEAN, STRING) : string
57 >BOOLEAN, STRING : string
58 >BOOLEAN : boolean
101 BOOLEAN == undefined, "";
[all …]
DcommaOperatorWithSecondOperandNumberType.js3 var BOOLEAN: boolean; variable
10 BOOLEAN, NUMBER;
17 var resultIsNumber2 = (BOOLEAN, NUMBER);
26 BOOLEAN = false, 1;
33 var resultIsNumber9 = (BOOLEAN = false, 1);
40 var BOOLEAN; variable
46 BOOLEAN, NUMBER;
52 var resultIsNumber2 = (BOOLEAN, NUMBER);
60 BOOLEAN = false, 1;
66 var resultIsNumber9 = (BOOLEAN = false, 1);
DcommaOperatorWithSecondOperandStringType.js3 var BOOLEAN: boolean; variable
12 BOOLEAN, STRING;
19 var resultIsString2 = (BOOLEAN, STRING);
28 BOOLEAN == undefined, "";
35 var resultIsString9 = (BOOLEAN == undefined, "");
42 var BOOLEAN; variable
49 BOOLEAN, STRING;
55 var resultIsString2 = (BOOLEAN, STRING);
63 BOOLEAN == undefined, "";
69 var resultIsString9 = (BOOLEAN == undefined, "");
DcommaOperatorWithSecondOperandObjectType.js3 var BOOLEAN: boolean; variable
14 BOOLEAN, OBJECT;
21 var resultIsObject2 = (BOOLEAN, OBJECT);
30 !BOOLEAN, []
37 var resultIsObject9 = (!BOOLEAN, { a: 1, b: "s" });
44 var BOOLEAN; variable
55 BOOLEAN, OBJECT;
61 var resultIsObject2 = (BOOLEAN, OBJECT);
69 !BOOLEAN, [];
75 var resultIsObject9 = (!BOOLEAN, { a: 1, b: "s" });
DcommaOperatorWithSecondOperandAnyType.js3 var BOOLEAN: boolean; variable
10 BOOLEAN, ANY;
17 var resultIsAny2 = (BOOLEAN, ANY);
30 !BOOLEAN, x.doSomeThing();
37 var resultIsAny11 = (!BOOLEAN, x.doSomeThing());
42 var BOOLEAN; variable
48 BOOLEAN, ANY;
54 var resultIsAny2 = (BOOLEAN, ANY);
65 !BOOLEAN, x.doSomeThing();
71 var resultIsAny11 = (!BOOLEAN, x.doSomeThing());
DtypeofOperatorWithBooleanType.js3 var BOOLEAN: boolean; variable
18 var ResultIsString1 = typeof BOOLEAN;
31 var ResultIsString8 = typeof typeof BOOLEAN;
35 typeof BOOLEAN;
45 z: typeof BOOLEAN;
55 var BOOLEAN; variable
68 var ResultIsString1 = typeof BOOLEAN;
78 var ResultIsString8 = typeof typeof BOOLEAN;
81 typeof BOOLEAN;
90 z: typeof BOOLEAN;
DcommaOperatorWithoutOperand.types5 var BOOLEAN: boolean;
6 >BOOLEAN : boolean
25 (BOOLEAN, );
26 >(BOOLEAN, ) : any
27 >BOOLEAN, : any
28 >BOOLEAN : boolean
56 (, BOOLEAN);
57 >(, BOOLEAN) : boolean
58 >, BOOLEAN : boolean
60 >BOOLEAN : boolean
DincrementOperatorWithUnsupportedBooleanType.js3 var BOOLEAN: boolean; variable
18 var ResultIsNumber1 = ++BOOLEAN;
20 var ResultIsNumber2 = BOOLEAN++;
44 ++BOOLEAN;
51 BOOLEAN++;
59 var BOOLEAN; variable
72 var ResultIsNumber1 = ++BOOLEAN;
73 var ResultIsNumber2 = BOOLEAN++;
92 ++BOOLEAN;
98 BOOLEAN++;
DdecrementOperatorWithUnsupportedBooleanType.js3 var BOOLEAN: boolean; variable
18 var ResultIsNumber1 = --BOOLEAN;
20 var ResultIsNumber2 = BOOLEAN--;
44 --BOOLEAN;
51 BOOLEAN--;
59 var BOOLEAN; variable
72 var ResultIsNumber1 = --BOOLEAN;
73 var ResultIsNumber2 = BOOLEAN--;
92 --BOOLEAN;
98 BOOLEAN--;
DlogicalNotOperatorWithBooleanType.types3 var BOOLEAN: boolean;
4 >BOOLEAN : boolean
33 var ResultIsBoolean1 = !BOOLEAN;
35 >!BOOLEAN : boolean
36 >BOOLEAN : boolean
83 var ResultIsBoolean = !!BOOLEAN;
85 >!!BOOLEAN : boolean
86 >!BOOLEAN : boolean
87 >BOOLEAN : boolean
94 !BOOLEAN;
[all …]
DbitwiseNotOperatorWithBooleanType.types3 var BOOLEAN: boolean;
4 >BOOLEAN : boolean
33 var ResultIsNumber1 = ~BOOLEAN;
35 >~BOOLEAN : number
36 >BOOLEAN : boolean
83 var ResultIsNumber8 = ~~BOOLEAN;
85 >~~BOOLEAN : number
86 >~BOOLEAN : number
87 >BOOLEAN : boolean
94 ~BOOLEAN;
[all …]
DdeleteOperatorWithBooleanType.js3 var BOOLEAN: boolean; variable
18 var ResultIsBoolean1 = delete BOOLEAN;
31 var ResultIsBoolean8 = delete delete BOOLEAN;
35 delete BOOLEAN;
43 var BOOLEAN; variable
56 var ResultIsBoolean1 = delete BOOLEAN;
66 var ResultIsBoolean8 = delete delete BOOLEAN;
69 delete BOOLEAN;
/third_party/typescript/tests/cases/conformance/expressions/commaOperator/
DcommaOperatorWithSecondOperandBooleanType.ts4 var BOOLEAN: boolean; variable
10 ANY, BOOLEAN;
11 BOOLEAN, BOOLEAN;
12 NUMBER, BOOLEAN;
13 STRING, BOOLEAN;
14 OBJECT, BOOLEAN;
17 var resultIsBoolean1 = (ANY, BOOLEAN);
18 var resultIsBoolean2 = (BOOLEAN, BOOLEAN);
19 var resultIsBoolean3 = (NUMBER, BOOLEAN);
20 var resultIsBoolean4 = (STRING, BOOLEAN);
[all …]

1234567