/third_party/typescript/tests/baselines/reference/ |
D | arithmeticOperatorWithNullValueAndInvalidOperands.types | 2 // If one operand is the null or undefined value, it is treated as having the type of the 15 var r1a1 = null * a; 17 >null * a : number 18 >null : null 21 var r1a2 = null * b; 23 >null * b : number 24 >null : null 27 var r1a3 = null * c; 29 >null * c : number 30 >null : null [all …]
|
D | comparisonOperatorWithOneOperandIsNull.types | 12 var foo_r1 = t < null; 14 >t < null : boolean 16 >null : null 18 var foo_r2 = t > null; 20 >t > null : boolean 22 >null : null 24 var foo_r3 = t <= null; 26 >t <= null : boolean 28 >null : null 30 var foo_r4 = t >= null; [all …]
|
D | arithmeticOperatorWithNullValueAndValidOperands.types | 2 // If one operand is the null or undefined value, it is treated as having the type of the 22 var ra1 = null * a; 24 >null * a : number 25 >null : null 28 var ra2 = null * b; 30 >null * b : number 31 >null : null 34 var ra3 = null * 1; 36 >null * 1 : number 37 >null : null [all …]
|
D | arithmeticOperatorWithOnlyNullValueOrUndefinedValue.types | 3 var ra1 = null * null; 5 >null * null : number 6 >null : null 7 >null : null 9 var ra2 = null * undefined; 11 >null * undefined : number 12 >null : null 15 var ra3 = undefined * null; 17 >undefined * null : number 19 >null : null [all …]
|
D | nullIsSubtypeOfEverythingButUndefined.types | 2 // null is a subtype of any other types except undefined 4 var r0 = true ? null : null; 6 >true ? null : null : null 8 >null : null 9 >null : null 11 var r0 = true ? null : null; 13 >true ? null : null : null 15 >null : null 16 >null : null 22 var r0b = true ? u : null; [all …]
|
D | transformsElideNullUndefinedType.types | 2 var v0: null; 3 >v0 : null 4 >null : null 9 function f0(): null { return null; } 10 >f0 : () => null 11 >null : null 12 >null : null 18 var f2 = function (): null { return null; } 19 >f2 : () => null 20 >function (): null { return null; } : () => null [all …]
|
D | nullAssignableToEveryType.types | 25 var b: number = null; 27 >null : null 29 var c: string = null; 31 >null : null 33 var d: boolean = null; 35 >null : null 37 var e: Date = null; 39 >null : null 41 var f: any = null; 43 >null : null [all …]
|
D | validNullAssignments.types | 1 === tests/cases/conformance/types/primitives/null/validNullAssignments.ts === 2 var a: number = null; 4 >null : null 6 var b: boolean = null; 8 >null : null 10 var c: string = null; 12 >null : null 14 var d: void = null; 16 >null : null 18 var e: typeof undefined = null; [all …]
|
D | comparisonOperatorWithOneOperandIsNull.errors.txt | 1 …nOperator/comparisonOperatorWithOneOperandIsNull.ts(4,22): error TS2531: Object is possibly 'null'. 2 …nOperator/comparisonOperatorWithOneOperandIsNull.ts(5,22): error TS2531: Object is possibly 'null'. 3 …nOperator/comparisonOperatorWithOneOperandIsNull.ts(6,23): error TS2531: Object is possibly 'null'. 4 …nOperator/comparisonOperatorWithOneOperandIsNull.ts(7,23): error TS2531: Object is possibly 'null'. 5 …Operator/comparisonOperatorWithOneOperandIsNull.ts(13,18): error TS2531: Object is possibly 'null'. 6 …Operator/comparisonOperatorWithOneOperandIsNull.ts(14,18): error TS2531: Object is possibly 'null'. 7 …Operator/comparisonOperatorWithOneOperandIsNull.ts(15,18): error TS2531: Object is possibly 'null'. 8 …Operator/comparisonOperatorWithOneOperandIsNull.ts(16,18): error TS2531: Object is possibly 'null'. 9 …Operator/comparisonOperatorWithOneOperandIsNull.ts(32,12): error TS2531: Object is possibly 'null'. 10 …Operator/comparisonOperatorWithOneOperandIsNull.ts(33,12): error TS2531: Object is possibly 'null'. [all …]
|
D | typeGuardsNestedAssignments.types | 9 declare function getFooOrNull(): Foo | null; 10 >getFooOrNull : () => Foo | null 11 >null : null 13 declare function getStringOrNumberOrNull(): string | number | null; 14 >getStringOrNumberOrNull : () => string | number | null 15 >null : null 20 let foo: Foo | null; 21 >foo : Foo | null 22 >null : null 24 if ((foo = getFooOrNull()) !== null) { [all …]
|
D | additionOperatorWithNullValueAndValidOperator.types | 2 // If one operand is the null or undefined value, it is treated as having the type of the other ope… 22 // null + any 23 var r1: any = null + a; 25 >null + a : any 26 >null : null 29 var r2: any = a + null; 31 >a + null : any 33 >null : null 35 // null + number/enum 36 var r3 = null + b; [all …]
|
D | arithmeticOperatorWithNullValueAndValidOperands.errors.txt | 1 …arithmeticOperatorWithNullValueAndValidOperands.ts(13,11): error TS2531: Object is possibly 'null'. 2 …arithmeticOperatorWithNullValueAndValidOperands.ts(14,11): error TS2531: Object is possibly 'null'. 3 …arithmeticOperatorWithNullValueAndValidOperands.ts(15,11): error TS2531: Object is possibly 'null'. 4 …arithmeticOperatorWithNullValueAndValidOperands.ts(16,11): error TS2531: Object is possibly 'null'. 5 …arithmeticOperatorWithNullValueAndValidOperands.ts(17,15): error TS2531: Object is possibly 'null'. 6 …arithmeticOperatorWithNullValueAndValidOperands.ts(18,15): error TS2531: Object is possibly 'null'. 7 …arithmeticOperatorWithNullValueAndValidOperands.ts(19,15): error TS2531: Object is possibly 'null'. 8 …arithmeticOperatorWithNullValueAndValidOperands.ts(20,17): error TS2531: Object is possibly 'null'. 9 …arithmeticOperatorWithNullValueAndValidOperands.ts(23,11): error TS2531: Object is possibly 'null'. 10 …arithmeticOperatorWithNullValueAndValidOperands.ts(24,11): error TS2531: Object is possibly 'null'. [all …]
|
D | recursiveTupleTypeInference.errors.txt | 3 … type '[[[[[[[[[[[[any, "null"], "null"], "null"], "null"], "null"], "null"], "null"], "null"], "n… 4 … type '[[[[[[[[[[[[any, "null"], "null"], "null"], "null"], "null"], "null"], "null"], "null"], "n… 10 export type A = "number" | "null" | A[]; 12 export type F<T> = null extends T 13 ? [F<NonNullable<T>>, "null"] 21 b: number | null; 24 const gK: { [key in keyof K]: A } = { b: ["number", "null"] }; 34 … type '[[[[[[[[[[[[any, "null"], "null"], "null"], "null"], "null"], "null"], "null"], "null"], "n… 35 … type '[[[[[[[[[[[[any, "null"], "null"], "null"], "null"], "null"], "null"], "null"], "null"], "n…
|
D | exponentiationOperatorWithNullValueAndInvalidOperands.types | 2 // If one operand is the null or undefined value, it is treated as having the type of the 15 var r1a1 = null ** a; 17 >null ** a : number 18 >null : null 21 var r1a2 = null ** b; 23 >null ** b : number 24 >null : null 27 var r1a3 = null ** c; 29 >null ** c : number 30 >null : null [all …]
|
D | nullishCoalescingOperator1.types | 2 declare const a1: string | undefined | null 3 >a1 : string | null | undefined 4 >null : null 6 declare const a2: string | undefined | null 7 >a2 : string | null | undefined 8 >null : null 10 declare const a3: string | undefined | null 11 >a3 : string | null | undefined 12 >null : null 14 declare const a4: string | undefined | null [all …]
|
D | equalityStrictNulls.types | 26 if (x == null) { 27 >x == null : boolean 29 >null : null 31 if (x != null) { 32 >x != null : boolean 34 >null : null 36 if (x === null) { 37 >x === null : boolean 39 >null : null 41 if (x !== null) { [all …]
|
D | widenedTypes.types | 2 null instanceof (() => { }); 3 >null instanceof (() => { }) : boolean 4 >null : null 8 ({}) instanceof null; // Ok because null is a subtype of function 9 >({}) instanceof null : boolean 12 >null : null 14 null in {}; 15 >null in {} : boolean 16 >null : null 19 "" in null; [all …]
|
D | destructuringAssignmentWithExportedName.types | 9 exportedFoo = null; 10 >exportedFoo = null : null 12 >null : null 14 nonexportedFoo = null; 15 >nonexportedFoo = null : null 17 >null : null 19 if (null as any) { 20 >null as any : any 21 >null : null 23 ({ exportedFoo, nonexportedFoo } = null as any); [all …]
|
D | privacyFunctionReturnTypeDeclFile.types | 56 return null; 57 >null : null 62 return null; 63 >null : null 68 return null; 69 >null : null 74 return null; 75 >null : null 113 return null; 114 >null : null [all …]
|
D | identifierStartAfterNumericLiteral.types | 2 let valueIn = 3in[null]; 4 >3in[null] : boolean 6 >[null] : null[] 7 >null : null 9 3a[null] 11 >a[null] : any 13 >null : null 15 123a[null] 17 >a[null] : any 19 >null : null [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBIRuleParseTable.java | 84 new RBBIRuleTableElement(doNOP, 0, 0,0, true, null ) // 0 86 , new RBBIRuleTableElement(doNOP, 132, 1,0, true, null ) // 2 87 , new RBBIRuleTableElement(doNoChain,'^', 12, 9, true, null ) // 3 88 , new RBBIRuleTableElement(doExprStart,'$', 88, 98, false, null ) // 4 89 , new RBBIRuleTableElement(doNOP,'!', 19,0, true, null ) // 5 90 , new RBBIRuleTableElement(doNOP,';', 1,0, true, null ) // 6 91 , new RBBIRuleTableElement(doNOP, 252, 0,0, false, null ) // 7 92 , new RBBIRuleTableElement(doExprStart, 255, 29, 9, false, null ) // 8 94 , new RBBIRuleTableElement(doNOP, 132, 9,0, true, null ) // 10 95 , new RBBIRuleTableElement(doRuleError, 255, 103,0, false, null ) // 11 [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RBBIRuleParseTable.java | 85 new RBBIRuleTableElement(doNOP, 0, 0,0, true, null ) // 0 87 , new RBBIRuleTableElement(doNOP, 132, 1,0, true, null ) // 2 88 , new RBBIRuleTableElement(doNoChain,'^', 12, 9, true, null ) // 3 89 , new RBBIRuleTableElement(doExprStart,'$', 88, 98, false, null ) // 4 90 , new RBBIRuleTableElement(doNOP,'!', 19,0, true, null ) // 5 91 , new RBBIRuleTableElement(doNOP,';', 1,0, true, null ) // 6 92 , new RBBIRuleTableElement(doNOP, 252, 0,0, false, null ) // 7 93 , new RBBIRuleTableElement(doExprStart, 255, 29, 9, false, null ) // 8 95 , new RBBIRuleTableElement(doNOP, 132, 9,0, true, null ) // 10 96 , new RBBIRuleTableElement(doRuleError, 255, 103,0, false, null ) // 11 [all …]
|
/third_party/parse5/test/data/parser-feedback/ |
D | tests16.test | 4 "fragmentContext": null, 11 null, 12 null, 23 "fragmentContext": null, 30 null, 31 null, 46 "fragmentContext": null, 53 null, 54 null, 69 "fragmentContext": null, [all …]
|
D | tests19.test | 4 "fragmentContext": null, 11 null, 12 null, 30 "fragmentContext": null, 37 null, 38 null, 57 "fragmentContext": null, 64 null, 65 null, 88 "fragmentContext": null, [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/ |
D | SearchTest.java | 91 …SD("xxxxxxxxxxxxxxxxxxxx", "fisher", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA… 92 …SD("silly spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(13, -1),… 93 …SD("silly spring string string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(1… 94 …SD("silly string spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(6… 95 …SD("string spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(0, 14, … 96 SD("Scott Ganyo", "c", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(1, -1), IA(1)), 97 SD("Scott Ganyo", " ", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(5, -1), IA(1)), 98 … SD("\u0300\u0325", "\u0300", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)), 99 … SD("a\u0300\u0325", "\u0300", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)), 100 …SD("a\u0300\u0325", "\u0300\u0325", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(… [all …]
|