Home
last modified time | relevance | path

Searched refs:STRING (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/third_party/typescript/tests/baselines/reference/
DcommaOperatorWithSecondOperandStringType.js5 var STRING: string; variable
11 ANY, STRING;
12 BOOLEAN, STRING;
13 NUMBER, STRING;
14 STRING, STRING;
15 OBJECT, STRING;
18 var resultIsString1 = (ANY, STRING);
19 var resultIsString2 = (BOOLEAN, STRING);
20 var resultIsString3 = (NUMBER, STRING);
21 var resultIsString4 = (STRING, STRING);
[all …]
DcommaOperatorWithSecondOperandStringType.types11 var STRING: string;
12 >STRING : string
21 ANY, STRING;
22 >ANY, STRING : string
24 >STRING : string
26 BOOLEAN, STRING;
27 >BOOLEAN, STRING : string
29 >STRING : string
31 NUMBER, STRING;
32 >NUMBER, STRING : string
[all …]
DcommaOperatorWithSecondOperandStringType.symbols11 var STRING: string;
12 >STRING : Symbol(STRING, Decl(commaOperatorWithSecondOperandStringType.ts, 3, 3))
22 ANY, STRING;
24 >STRING : Symbol(STRING, Decl(commaOperatorWithSecondOperandStringType.ts, 3, 3))
26 BOOLEAN, STRING;
28 >STRING : Symbol(STRING, Decl(commaOperatorWithSecondOperandStringType.ts, 3, 3))
30 NUMBER, STRING;
32 >STRING : Symbol(STRING, Decl(commaOperatorWithSecondOperandStringType.ts, 3, 3))
34 STRING, STRING;
35 >STRING : Symbol(STRING, Decl(commaOperatorWithSecondOperandStringType.ts, 3, 3))
[all …]
DbitwiseNotOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsNumber1 = ~STRING;
41 >~STRING : number
42 >STRING : string
111 var ResultIsNumber11 = ~(STRING + STRING);
113 >~(STRING + STRING) : number
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DlogicalNotOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsBoolean1 = !STRING;
41 >!STRING : boolean
42 >STRING : string
111 var ResultIsBoolean11 = !(STRING + STRING);
113 >!(STRING + STRING) : boolean
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DcommaOperatorsMultipleOperators.types11 var STRING: string;
12 >STRING : string
25 BOOLEAN, NUMBER, STRING;
26 >BOOLEAN, NUMBER, STRING : string
30 >STRING : string
32 NUMBER, STRING, OBJECT;
33 >NUMBER, STRING, OBJECT : Object
34 >NUMBER, STRING : string
36 >STRING : string
39 STRING, OBJECT, ANY;
[all …]
DvoidOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsAny1 = void STRING;
41 >void STRING : undefined
42 >STRING : string
111 var ResultIsAny11 = void (STRING + STRING);
113 >void (STRING + STRING) : undefined
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DdeleteOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsBoolean1 = delete STRING;
41 >delete STRING : boolean
42 >STRING : string
111 var ResultIsBoolean11 = delete (STRING + STRING);
113 >delete (STRING + STRING) : boolean
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DcommaOperatorInvalidAssignmentType.types8 var STRING: string;
9 >STRING : string
21 resultIsBoolean = (BOOLEAN, STRING);
22 >resultIsBoolean = (BOOLEAN, STRING) : string
24 >(BOOLEAN, STRING) : string
25 >BOOLEAN, STRING : string
27 >STRING : string
45 resultIsNumber = (NUMBER, STRING);
46 >resultIsNumber = (NUMBER, STRING) : string
48 >(NUMBER, STRING) : string
[all …]
DcommaOperatorsMultipleOperators.js5 var STRING: string; variable
10 BOOLEAN, NUMBER, STRING;
11 NUMBER, STRING, OBJECT;
12 STRING, OBJECT, ANY;
16 var resultIsAny1 = (STRING, OBJECT, ANY);
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());
33 var STRING; variable
[all …]
DdeleteOperatorWithStringType.js3 var STRING: string; variable
19 var ResultIsBoolean1 = delete STRING;
33 var ResultIsBoolean11 = delete (STRING + STRING);
34 var ResultIsBoolean12 = delete STRING.charAt(0);
37 var ResultIsBoolean13 = delete delete STRING;
38 var ResultIsBoolean14 = delete delete delete (STRING + STRING);
42 delete STRING;
49 var STRING; variable
63 var ResultIsBoolean1 = delete STRING;
75 var ResultIsBoolean11 = delete (STRING + STRING);
[all …]
DbitwiseNotOperatorWithStringType.js3 var STRING: string; variable
19 var ResultIsNumber1 = ~STRING;
33 var ResultIsNumber11 = ~(STRING + STRING);
34 var ResultIsNumber12 = ~STRING.charAt(0);
37 var ResultIsNumber13 = ~~STRING;
38 var ResultIsNumber14 = ~~~(STRING + STRING);
41 ~STRING;
48 var STRING; variable
62 var ResultIsNumber1 = ~STRING;
74 var ResultIsNumber11 = ~(STRING + STRING);
[all …]
DvoidOperatorWithStringType.js3 var STRING: string; variable
19 var ResultIsAny1 = void STRING;
33 var ResultIsAny11 = void (STRING + STRING);
34 var ResultIsAny12 = void STRING.charAt(0);
37 var ResultIsAny13 = void void STRING;
38 var ResultIsAny14 = void void void (STRING + STRING);
42 void STRING;
49 var STRING; variable
63 var ResultIsAny1 = void STRING;
75 var ResultIsAny11 = void (STRING + STRING);
[all …]
DlogicalNotOperatorWithStringType.js3 var STRING: string; variable
19 var ResultIsBoolean1 = !STRING;
33 var ResultIsBoolean11 = !(STRING + STRING);
34 var ResultIsBoolean12 = !STRING.charAt(0);
37 var ResultIsBoolean13 = !!STRING;
38 var ResultIsBoolean14 = !!!(STRING + STRING);
42 !STRING;
49 var STRING; variable
63 var ResultIsBoolean1 = !STRING;
75 var ResultIsBoolean11 = !(STRING + STRING);
[all …]
DtypeofOperatorWithStringType.js3 var STRING: string; variable
19 var ResultIsString1 = typeof STRING;
33 var ResultIsString11 = typeof (STRING + STRING);
34 var ResultIsString12 = typeof STRING.charAt(0);
37 var ResultIsString13 = typeof typeof STRING;
38 var ResultIsString14 = typeof typeof typeof (STRING + STRING);
42 typeof STRING;
51 z: typeof STRING;
62 var STRING; variable
76 var ResultIsString1 = typeof STRING;
[all …]
DdecrementOperatorWithUnsupportedStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsNumber1 = --STRING;
41 >--STRING : number
42 >STRING : string
49 var ResultIsNumber3 = STRING--;
51 >STRING-- : number
52 >STRING : string
146 var ResultIsNumber16 = --(STRING + STRING);
148 >--(STRING + STRING) : number
[all …]
DincrementOperatorWithUnsupportedStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsNumber1 = ++STRING;
41 >++STRING : number
42 >STRING : string
49 var ResultIsNumber3 = STRING++;
51 >STRING++ : number
52 >STRING : string
146 var ResultIsNumber16 = ++(STRING + STRING);
148 >++(STRING + STRING) : number
[all …]
DcommaOperatorsMultipleOperators.symbols11 var STRING: string;
12 >STRING : Symbol(STRING, Decl(commaOperatorsMultipleOperators.ts, 3, 3))
24 BOOLEAN, NUMBER, STRING;
27 >STRING : Symbol(STRING, Decl(commaOperatorsMultipleOperators.ts, 3, 3))
29 NUMBER, STRING, OBJECT;
31 >STRING : Symbol(STRING, Decl(commaOperatorsMultipleOperators.ts, 3, 3))
34 STRING, OBJECT, ANY;
35 >STRING : Symbol(STRING, Decl(commaOperatorsMultipleOperators.ts, 3, 3))
45 var resultIsAny1 = (STRING, OBJECT, ANY);
47 >STRING : Symbol(STRING, Decl(commaOperatorsMultipleOperators.ts, 3, 3))
[all …]
DdecrementOperatorWithUnsupportedStringType.js3 var STRING: string; variable
19 var ResultIsNumber1 = --STRING;
22 var ResultIsNumber3 = STRING--;
40 var ResultIsNumber16 = --(STRING + STRING);
47 var ResultIsNumber22 = (STRING + STRING)--;
51 --STRING;
60 STRING--;
70 var STRING; variable
84 var ResultIsNumber1 = --STRING;
86 var ResultIsNumber3 = STRING--;
[all …]
DincrementOperatorWithUnsupportedStringType.js3 var STRING: string; variable
19 var ResultIsNumber1 = ++STRING;
22 var ResultIsNumber3 = STRING++;
40 var ResultIsNumber16 = ++(STRING + STRING);
47 var ResultIsNumber22 = (STRING + STRING)++;
51 ++STRING;
60 STRING++;
70 var STRING; variable
84 var ResultIsNumber1 = ++STRING;
86 var ResultIsNumber3 = STRING++;
[all …]
DnegateOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsNumber1 = -STRING;
41 >-STRING : number
42 >STRING : string
111 var ResultIsNumber11 = -(STRING + STRING);
113 >-(STRING + STRING) : number
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DplusOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsNumber1 = +STRING;
41 >+STRING : number
42 >STRING : string
111 var ResultIsNumber11 = +(STRING + STRING);
113 >+(STRING + STRING) : number
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DtypeofOperatorWithStringType.types3 var STRING: string;
4 >STRING : string
39 var ResultIsString1 = typeof STRING;
41 >typeof STRING : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "…
42 >STRING : string
111 var ResultIsString11 = typeof (STRING + STRING);
113 >typeof (STRING + STRING) : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "…
114 >(STRING + STRING) : string
115 >STRING + STRING : string
116 >STRING : string
[all …]
DlogicalNotOperatorWithStringType.symbols3 var STRING: string;
4 >STRING : Symbol(STRING, Decl(logicalNotOperatorWithStringType.ts, 1, 3))
33 var ResultIsBoolean1 = !STRING;
35 >STRING : Symbol(STRING, Decl(logicalNotOperatorWithStringType.ts, 1, 3))
84 var ResultIsBoolean11 = !(STRING + STRING);
86 >STRING : Symbol(STRING, Decl(logicalNotOperatorWithStringType.ts, 1, 3))
87 >STRING : Symbol(STRING, Decl(logicalNotOperatorWithStringType.ts, 1, 3))
89 var ResultIsBoolean12 = !STRING.charAt(0);
91 >STRING.charAt : Symbol(String.charAt, Decl(lib.es5.d.ts, --, --))
92 >STRING : Symbol(STRING, Decl(logicalNotOperatorWithStringType.ts, 1, 3))
[all …]
/third_party/typescript/tests/cases/conformance/expressions/commaOperator/
DcommaOperatorWithSecondOperandStringType.ts6 var STRING: string; variable
12 ANY, STRING;
13 BOOLEAN, STRING;
14 NUMBER, STRING;
15 STRING, STRING;
16 OBJECT, STRING;
19 var resultIsString1 = (ANY, STRING);
20 var resultIsString2 = (BOOLEAN, STRING);
21 var resultIsString3 = (NUMBER, STRING);
22 var resultIsString4 = (STRING, STRING);
[all …]

12345678910>>...24