/third_party/typescript/tests/baselines/reference/ |
D | commaOperatorWithSecondOperandAnyType.types | 2 var ANY: any; 3 >ANY : any 18 ANY, ANY; 19 >ANY, ANY : any 20 >ANY : any 21 >ANY : any 23 BOOLEAN, ANY; 24 >BOOLEAN, ANY : any 26 >ANY : any 28 NUMBER, ANY; [all …]
|
D | commaOperatorWithSecondOperandAnyType.js | 2 var ANY: any; variable 9 ANY, ANY; 10 BOOLEAN, ANY; 11 NUMBER, ANY; 12 STRING, ANY; 13 OBJECT, ANY; 16 var resultIsAny1 = (ANY, ANY); 17 var resultIsAny2 = (BOOLEAN, ANY); 18 var resultIsAny3 = (NUMBER, ANY); 19 var resultIsAny4 = (STRING, ANY); [all …]
|
D | commaOperatorWithSecondOperandAnyType.symbols | 2 var ANY: any; 3 >ANY : Symbol(ANY, Decl(commaOperatorWithSecondOperandAnyType.ts, 0, 3)) 19 ANY, ANY; 20 >ANY : Symbol(ANY, Decl(commaOperatorWithSecondOperandAnyType.ts, 0, 3)) 21 >ANY : Symbol(ANY, Decl(commaOperatorWithSecondOperandAnyType.ts, 0, 3)) 23 BOOLEAN, ANY; 25 >ANY : Symbol(ANY, Decl(commaOperatorWithSecondOperandAnyType.ts, 0, 3)) 27 NUMBER, ANY; 29 >ANY : Symbol(ANY, Decl(commaOperatorWithSecondOperandAnyType.ts, 0, 3)) 31 STRING, ANY; [all …]
|
D | commaOperatorsMultipleOperators.types | 2 var ANY: any; 3 >ANY : any 18 ANY, BOOLEAN, NUMBER; 19 >ANY, BOOLEAN, NUMBER : number 20 >ANY, BOOLEAN : boolean 21 >ANY : any 39 STRING, OBJECT, ANY; 40 >STRING, OBJECT, ANY : any 44 >ANY : any 46 OBJECT, ANY, BOOLEAN; [all …]
|
D | commaOperatorsMultipleOperators.js | 2 var ANY: any; variable 9 ANY, BOOLEAN, NUMBER; 12 STRING, OBJECT, ANY; 13 OBJECT, ANY, BOOLEAN; 16 var resultIsAny1 = (STRING, OBJECT, ANY); 17 var resultIsBoolean1 = (OBJECT, ANY, BOOLEAN); 18 var resultIsNumber1 = (ANY, BOOLEAN, NUMBER); 30 var ANY; variable 36 ANY, BOOLEAN, NUMBER; 39 STRING, OBJECT, ANY; [all …]
|
D | logicalNotOperatorWithAnyOtherType.types | 4 var ANY: any; 5 >ANY : any 155 var ResultIsBoolean16 = !(ANY + ANY1); 157 >!(ANY + ANY1) : boolean 158 >(ANY + ANY1) : any 159 >ANY + ANY1 : any 160 >ANY : any 188 var ResultIsBoolean20 = !!ANY; 190 >!!ANY : boolean 191 >!ANY : boolean [all …]
|
D | bitwiseNotOperatorWithAnyOtherType.types | 4 var ANY: any; 5 >ANY : any 155 var ResultIsNumber15 = ~(ANY + ANY1); 157 >~(ANY + ANY1) : number 158 >(ANY + ANY1) : any 159 >ANY + ANY1 : any 160 >ANY : any 188 var ResultIsNumber19 = ~~ANY; 190 >~~ANY : number 191 >~ANY : number [all …]
|
D | voidOperatorWithAnyOtherType.types | 4 var ANY: any; 5 >ANY : any 155 var ResultIsAny16 = void (ANY + ANY1); 157 >void (ANY + ANY1) : undefined 158 >(ANY + ANY1) : any 159 >ANY + ANY1 : any 160 >ANY : any 188 var ResultIsAny20 = void void ANY; 190 >void void ANY : undefined 191 >void ANY : undefined [all …]
|
D | deleteOperatorWithAnyOtherType.types | 4 var ANY: any; 5 >ANY : any 155 var ResultIsBoolean16 = delete (ANY + ANY1); 157 >delete (ANY + ANY1) : boolean 158 >(ANY + ANY1) : any 159 >ANY + ANY1 : any 160 >ANY : any 188 var ResultIsBoolean20 = delete delete ANY; 190 >delete delete ANY : boolean 191 >delete ANY : boolean [all …]
|
D | commaOperatorWithSecondOperandNumberType.types | 2 var ANY: any; 3 >ANY : any 18 ANY, NUMBER; 19 >ANY, NUMBER : number 20 >ANY : any 44 var resultIsNumber1 = (ANY, NUMBER); 46 >(ANY, NUMBER) : number 47 >ANY, NUMBER : number 48 >ANY : any 85 ANY = undefined, NUMBER; [all …]
|
D | typeofOperatorWithAnyOtherType.js | 4 var ANY: any; variable 46 var ResultIsString16 = typeof (ANY + ANY1); 52 var ResultIsString20 = typeof typeof ANY; 53 var ResultIsString21 = typeof typeof typeof (ANY + ANY1); 56 typeof ANY; 59 typeof ANY, ANY1; 69 z: typeof ANY; 79 var ANY; variable 119 var ResultIsString16 = typeof (ANY + ANY1); 124 var ResultIsString20 = typeof typeof ANY; [all …]
|
D | commaOperatorsMultipleOperators.symbols | 2 var ANY: any; 3 >ANY : Symbol(ANY, Decl(commaOperatorsMultipleOperators.ts, 0, 3)) 19 ANY, BOOLEAN, NUMBER; 20 >ANY : Symbol(ANY, Decl(commaOperatorsMultipleOperators.ts, 0, 3)) 34 STRING, OBJECT, ANY; 37 >ANY : Symbol(ANY, Decl(commaOperatorsMultipleOperators.ts, 0, 3)) 39 OBJECT, ANY, BOOLEAN; 41 >ANY : Symbol(ANY, Decl(commaOperatorsMultipleOperators.ts, 0, 3)) 45 var resultIsAny1 = (STRING, OBJECT, ANY); 49 >ANY : Symbol(ANY, Decl(commaOperatorsMultipleOperators.ts, 0, 3)) [all …]
|
D | decrementOperatorWithAnyOtherType.types | 4 var ANY: any; 5 >ANY : any 42 var ResultIsNumber1 = --ANY; 44 >--ANY : number 45 >ANY : any 134 --ANY; 135 >--ANY : number 136 >ANY : any 148 --ANY, --ANY1; 149 >--ANY, --ANY1 : number [all …]
|
D | incrementOperatorWithAnyOtherType.types | 4 var ANY: any; 5 >ANY : any 42 var ResultIsNumber1 = ++ANY; 44 >++ANY : number 45 >ANY : any 134 ++ANY; 135 >++ANY : number 136 >ANY : any 148 ++ANY, ++ANY1; 149 >++ANY, ++ANY1 : number [all …]
|
D | decrementOperatorWithAnyOtherType.js | 4 var ANY: any; variable 17 var ResultIsNumber1 = --ANY; 37 --ANY; 40 --ANY, --ANY1; 44 ANY--; 47 ANY--, ANY1--; 53 var ANY; variable 67 var ResultIsNumber1 = --ANY; 83 --ANY; 86 --ANY, --ANY1; [all …]
|
D | incrementOperatorWithAnyOtherType.js | 4 var ANY: any; variable 17 var ResultIsNumber1 = ++ANY; 37 ++ANY; 40 ++ANY, ++ANY1; 44 ANY++; 47 ANY++, ANY1++; 53 var ANY; variable 67 var ResultIsNumber1 = ++ANY; 83 ++ANY; 86 ++ANY, ++ANY1; [all …]
|
D | commaOperatorWithSecondOperandBooleanType.types | 2 var ANY: any; 3 >ANY : any 18 ANY, BOOLEAN; 19 >ANY, BOOLEAN : boolean 20 >ANY : any 44 var resultIsBoolean1 = (ANY, BOOLEAN); 46 >(ANY, BOOLEAN) : boolean 47 >ANY, BOOLEAN : boolean 48 >ANY : any 85 ANY = undefined, BOOLEAN; [all …]
|
D | voidOperatorWithAnyOtherType.js | 4 var ANY: any; variable 46 var ResultIsAny16 = void (ANY + ANY1); 52 var ResultIsAny20 = void void ANY; 53 var ResultIsAny21 = void void void (ANY + ANY1); 56 void ANY; 59 void ANY, ANY1; 65 var ANY; variable 105 var ResultIsAny16 = void (ANY + ANY1); 110 var ResultIsAny20 = void void ANY; 111 var ResultIsAny21 = void void void (ANY + ANY1); [all …]
|
D | logicalNotOperatorWithAnyOtherType.js | 4 var ANY: any; variable 45 var ResultIsBoolean16 = !(ANY + ANY1); 51 var ResultIsBoolean20 = !!ANY; 52 var ResultIsBoolean21 = !!!(ANY + ANY1); 55 !ANY; 58 !ANY, ANY1; 64 var ANY; variable 104 var ResultIsBoolean16 = !(ANY + ANY1); 109 var ResultIsBoolean20 = !!ANY; 110 var ResultIsBoolean21 = !!!(ANY + ANY1); [all …]
|
D | commaOperatorWithSecondOperandObjectType.types | 2 var ANY: any; 3 >ANY : any 25 ANY, OBJECT; 26 >ANY, OBJECT : Object 27 >ANY : any 51 var resultIsObject1 = (ANY, OBJECT); 53 >(ANY, OBJECT) : Object 54 >ANY, OBJECT : Object 55 >ANY : any 92 ANY = null, OBJECT [all …]
|
D | deleteOperatorWithAnyOtherType.js | 4 var ANY: any; variable 45 var ResultIsBoolean16 = delete (ANY + ANY1); 51 var ResultIsBoolean20 = delete delete ANY; 52 var ResultIsBoolean21 = delete delete delete (ANY + ANY1); 55 delete ANY; 58 delete ANY, ANY1; 66 var ANY; variable 106 var ResultIsBoolean16 = delete (ANY + ANY1); 111 var ResultIsBoolean20 = delete delete ANY; 112 var ResultIsBoolean21 = delete delete delete (ANY + ANY1); [all …]
|
D | bitwiseNotOperatorWithAnyOtherType.js | 4 var ANY: any; variable 46 var ResultIsNumber15 = ~(ANY + ANY1); 52 var ResultIsNumber19 = ~~ANY; 53 var ResultIsNumber20 = ~~~(ANY + ANY1); 56 ~ANY; 59 ~ANY, ANY1; 67 var ANY; variable 107 var ResultIsNumber15 = ~(ANY + ANY1); 112 var ResultIsNumber19 = ~~ANY; 113 var ResultIsNumber20 = ~~~(ANY + ANY1); [all …]
|
D | commaOperatorWithSecondOperandStringType.types | 2 var ANY: any; 3 >ANY : any 21 ANY, STRING; 22 >ANY, STRING : string 23 >ANY : any 47 var resultIsString1 = (ANY, STRING); 49 >(ANY, STRING) : string 50 >ANY, STRING : string 51 >ANY : any 88 ANY = new Date(), STRING; [all …]
|
D | commaOperatorWithSecondOperandBooleanType.js | 2 var ANY: any; variable 9 ANY, BOOLEAN; 16 var resultIsBoolean1 = (ANY, BOOLEAN); 24 ANY = undefined, BOOLEAN; 31 var resultIsBoolean7 = (ANY = undefined, BOOLEAN); 39 var ANY; variable 45 ANY, BOOLEAN; 51 var resultIsBoolean1 = (ANY, BOOLEAN); 58 ANY = undefined, BOOLEAN; 64 var resultIsBoolean7 = (ANY = undefined, BOOLEAN);
|
/third_party/typescript/tests/cases/conformance/expressions/commaOperator/ |
D | commaOperatorWithSecondOperandAnyType.ts | 3 var ANY: any; variable 10 ANY, ANY; 11 BOOLEAN, ANY; 12 NUMBER, ANY; 13 STRING, ANY; 14 OBJECT, ANY; 17 var resultIsAny1 = (ANY, ANY); 18 var resultIsAny2 = (BOOLEAN, ANY); 19 var resultIsAny3 = (NUMBER, ANY); 20 var resultIsAny4 = (STRING, ANY); [all …]
|