/third_party/typescript/tests/baselines/reference/ |
D | templateStringInEqualityChecks.types | 2 var x = `abc${0}abc` === `abc` || 4 >`abc${0}abc` === `abc` || `abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && … 5 >`abc${0}abc` === `abc` : boolean 6 >`abc${0}abc` : string 8 >`abc` : "abc" 10 `abc` !== `abc${0}abc` && 11 >`abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && "abc0abc" !== `abc${0}abc` : … 12 >`abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" : boolean 13 >`abc` !== `abc${0}abc` : boolean 14 >`abc` : "abc" [all …]
|
D | templateStringInEqualityChecksES6.types | 2 var x = `abc${0}abc` === `abc` || 4 >`abc${0}abc` === `abc` || `abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && … 5 >`abc${0}abc` === `abc` : boolean 6 >`abc${0}abc` : string 8 >`abc` : "abc" 10 `abc` !== `abc${0}abc` && 11 >`abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && "abc0abc" !== `abc${0}abc` : … 12 >`abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" : boolean 13 >`abc` !== `abc${0}abc` : boolean 14 >`abc` : "abc" [all …]
|
D | taggedTemplateStringsWithTagsTypedAsAnyES6.types | 5 f `abc` 6 >f `abc` : any 8 >`abc` : "abc" 10 f `abc${1}def${2}ghi`; 11 >f `abc${1}def${2}ghi` : any 13 >`abc${1}def${2}ghi` : string 17 f.g.h `abc` 18 >f.g.h `abc` : any 24 >`abc` : "abc" 26 f.g.h `abc${1}def${2}ghi`; [all …]
|
D | taggedTemplateStringsWithTagsTypedAsAny.types | 5 f `abc` 6 >f `abc` : any 8 >`abc` : "abc" 10 f `abc${1}def${2}ghi`; 11 >f `abc${1}def${2}ghi` : any 13 >`abc${1}def${2}ghi` : string 17 f.g.h `abc` 18 >f.g.h `abc` : any 24 >`abc` : "abc" 26 f.g.h `abc${1}def${2}ghi`; [all …]
|
D | taggedTemplateStringsWithIncompatibleTypedTagsES6.types | 27 f `abc` 28 >f `abc` : I 30 >`abc` : "abc" 32 f `abc${1}def${2}ghi`; 33 >f `abc${1}def${2}ghi` : I 35 >`abc${1}def${2}ghi` : string 39 f `abc`.member 40 >f `abc`.member : I 41 >f `abc` : I 43 >`abc` : "abc" [all …]
|
D | taggedTemplateStringsWithIncompatibleTypedTags.types | 27 f `abc` 28 >f `abc` : I 30 >`abc` : "abc" 32 f `abc${1}def${2}ghi`; 33 >f `abc${1}def${2}ghi` : I 35 >`abc${1}def${2}ghi` : string 39 f `abc`.member 40 >f `abc`.member : I 41 >f `abc` : I 43 >`abc` : "abc" [all …]
|
D | taggedTemplateStringsWithTypedTags.types | 27 f `abc` 28 >f `abc` : I 30 >`abc` : "abc" 32 f `abc${1}def${2}ghi`; 33 >f `abc${1}def${2}ghi` : I 35 >`abc${1}def${2}ghi` : string 39 f `abc`.member 40 >f `abc`.member : I 41 >f `abc` : I 43 >`abc` : "abc" [all …]
|
D | taggedTemplateStringsWithTypedTagsES6.types | 27 f `abc` 28 >f `abc` : I 30 >`abc` : "abc" 32 f `abc${1}def${2}ghi`; 33 >f `abc${1}def${2}ghi` : I 35 >`abc${1}def${2}ghi` : string 39 f `abc`.member 40 >f `abc`.member : I 41 >f `abc` : I 43 >`abc` : "abc" [all …]
|
D | nullishCoalescingOperator9.types | 7 let g = f || (abc => { void abc.toLowerCase() }) 9 >f || (abc => { void abc.toLowerCase() }) : (x: string) => void 11 >(abc => { void abc.toLowerCase() }) : (abc: string) => void 12 >abc => { void abc.toLowerCase() } : (abc: string) => void 13 >abc : string 14 >void abc.toLowerCase() : undefined 15 >abc.toLowerCase() : string 16 >abc.toLowerCase : () => string 17 >abc : string 20 let gg = f ?? (abc => { void abc.toLowerCase() }) [all …]
|
D | enumAssignmentCompat3.types | 132 var abc: First.E; 133 >abc : First.E 172 abc = secondAbc; // ok 173 >abc = secondAbc : Abc.E 174 >abc : First.E 177 abc = secondAbcd; // missing 'd' 178 >abc = secondAbcd : Abcd.E 179 >abc : First.E 182 abc = secondAb; // ok 183 >abc = secondAb : Ab.E [all …]
|
D | enumAssignmentCompat3.js | 58 var abc: First.E; 68 abc = secondAbc; // ok 69 abc = secondAbcd; // missing 'd' 70 abc = secondAb; // ok 71 abc = secondCd; // missing 'd' 72 abc = nope; // nope! 73 abc = decl; // ok 74 secondAbc = abc; // ok 75 secondAbcd = abc; // ok 76 secondAb = abc; // missing 'c' [all …]
|
D | stringLiteralTypesWithVariousOperators01.types | 2 let abc: "ABC" = "ABC"; 3 >abc : "ABC" 10 let abcOrXyz: "ABC" | "XYZ" = abc || xyz; 12 >abc || xyz : "ABC" | "XYZ" 13 >abc : "ABC" 22 let a = "" + abc; 24 >"" + abc : string 26 >abc : "ABC" 28 let b = abc + ""; 30 >abc + "" : string [all …]
|
D | stringLiteralTypesWithVariousOperators01.js | 2 let abc: "ABC" = "ABC"; variable 4 let abcOrXyz: "ABC" | "XYZ" = abc || xyz; 7 let a = "" + abc; 8 let b = abc + ""; 9 let c = 10 + abc; 10 let d = abc + 10; 11 let e = xyz + abc; 12 let f = abc + xyz; 13 let g = true + abc; 14 let h = abc + true; [all …]
|
D | switchCaseNarrowsMatchingClausesEvenWhenNonMatchingClausesExist.types | 3 >narrowToLiterals : (str: string) => "abc" | "defaultValue" 4 …ase 'abc': { // inferred type as `abc` return str; } default: retur… 10 case 'abc': { 11 >'abc' : "abc" 13 // inferred type as `abc` 15 >str : "abc" 25 …eOtherStr: string) => { switch (str) { case 'abc': { // inferred type should be `ab… 32 case 'abc': { 33 >'abc' : "abc" 35 // inferred type should be `abc` [all …]
|
D | readonlyRestParameters.types | 36 f1('abc', 'def'); 37 >f1('abc', 'def') : void 39 >'abc' : "abc" 42 f1('abc', ...args); 43 >f1('abc', ...args) : void 45 >'abc' : "abc" 66 f1('abc', 'def'); 67 >f1('abc', 'def') : void 69 >'abc' : "abc" 72 f1('abc', ...args); [all …]
|
D | variadicTuples2.types | 89 tt1 = ['abc', 5]; 90 >tt1 = ['abc', 5] : [string, number] 92 >['abc', 5] : [string, number] 93 >'abc' : "abc" 96 tt1 = ['abc', 'def', 5]; 97 >tt1 = ['abc', 'def', 5] : [string, string, number] 99 >['abc', 'def', 5] : [string, string, number] 100 >'abc' : "abc" 104 tt1 = ['abc', 'def', 5, 6]; // Error 105 >tt1 = ['abc', 'def', 5, 6] : [string, string, number, number] [all …]
|
D | stringLiteralTypesWithVariousOperators01.symbols | 2 let abc: "ABC" = "ABC"; 3 >abc : Symbol(abc, Decl(stringLiteralTypesWithVariousOperators01.ts, 0, 3)) 8 let abcOrXyz: "ABC" | "XYZ" = abc || xyz; 10 >abc : Symbol(abc, Decl(stringLiteralTypesWithVariousOperators01.ts, 0, 3)) 17 let a = "" + abc; 19 >abc : Symbol(abc, Decl(stringLiteralTypesWithVariousOperators01.ts, 0, 3)) 21 let b = abc + ""; 23 >abc : Symbol(abc, Decl(stringLiteralTypesWithVariousOperators01.ts, 0, 3)) 25 let c = 10 + abc; 27 >abc : Symbol(abc, Decl(stringLiteralTypesWithVariousOperators01.ts, 0, 3)) [all …]
|
D | enumAssignmentCompat3.symbols | 131 var abc: First.E; 132 >abc : Symbol(abc, Decl(enumAssignmentCompat3.ts, 56, 3)) 181 abc = secondAbc; // ok 182 >abc : Symbol(abc, Decl(enumAssignmentCompat3.ts, 56, 3)) 185 abc = secondAbcd; // missing 'd' 186 >abc : Symbol(abc, Decl(enumAssignmentCompat3.ts, 56, 3)) 189 abc = secondAb; // ok 190 >abc : Symbol(abc, Decl(enumAssignmentCompat3.ts, 56, 3)) 193 abc = secondCd; // missing 'd' 194 >abc : Symbol(abc, Decl(enumAssignmentCompat3.ts, 56, 3)) [all …]
|
D | callWithSpread.types | 29 foo(1, 2, "abc"); 30 >foo(1, 2, "abc") : void 34 >"abc" : "abc" 44 foo(1, 2, ...a, "abc"); 45 >foo(1, 2, ...a, "abc") : void 51 >"abc" : "abc" 53 obj.foo(1, 2, "abc"); 54 >obj.foo(1, 2, "abc") : X 60 >"abc" : "abc" 72 obj.foo(1, 2, ...a, "abc"); [all …]
|
D | callWithSpreadES6.types | 29 foo(1, 2, "abc"); 30 >foo(1, 2, "abc") : void 34 >"abc" : "abc" 44 foo(1, 2, ...a, "abc"); 45 >foo(1, 2, ...a, "abc") : void 51 >"abc" : "abc" 53 obj.foo(1, 2, "abc"); 54 >obj.foo(1, 2, "abc") : any 60 >"abc" : "abc" 72 obj.foo(1, 2, ...a, "abc"); [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | enumAssignmentCompat3.ts | 57 var abc: First.E; variable 67 abc = secondAbc; // ok 68 abc = secondAbcd; // missing 'd' 69 abc = secondAb; // ok 70 abc = secondCd; // missing 'd' 71 abc = nope; // nope! 72 abc = decl; // ok 73 secondAbc = abc; // ok 74 secondAbcd = abc; // ok 75 secondAb = abc; // missing 'c' [all …]
|
/third_party/pcre2/pcre2/testdata/ |
D | testinput18 | 10 /abc/auto_callout 12 /abc/ 13 abc\=find_limits 15 /abc/ 16 abc\=partial_hard 20 /abc/allow_surrogate_escapes,max_pattern_length=2 24 /abc/ 25 abc 27 /^abc|def/ 31 /.*((abc)$|(def))/ [all …]
|
D | testoutput18 | 10 /abc/auto_callout 13 /abc/ 14 abc\=find_limits 16 0: abc 18 /abc/ 19 abc\=partial_hard 21 0: abc 26 /abc/allow_surrogate_escapes,max_pattern_length=2 31 /abc/ 32 abc [all …]
|
/third_party/parse5/test/data/parser-feedback/ |
D | tests14.test | 5 "description": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc>", 6 "input": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc>", 27 "xyz:abc", 32 "xyz:abc" 38 "description": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc><span></span>", 39 "input": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc><span></span>", 60 "xyz:abc", 65 "xyz:abc" 80 "description": "<!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>", 81 "input": "<!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>", [all …]
|
/third_party/python/Lib/test/test_importlib/ |
D | abc.py | 1 import abc 4 class FinderTests(metaclass=abc.ABCMeta): 8 @abc.abstractmethod 13 @abc.abstractmethod 18 @abc.abstractmethod 24 @abc.abstractmethod 30 @abc.abstractmethod 35 @abc.abstractmethod 41 class LoaderTests(metaclass=abc.ABCMeta): 43 @abc.abstractmethod [all …]
|