/third_party/typescript/src/testRunner/unittests/services/ |
D | colorization.ts | 33 …function stringLiteral(text: string, position?: number) { return createClassification(text, ts.Tok… function 69 stringLiteral("\"foo\""), 72 stringLiteral("\"foo\""), 102 stringLiteral("'line1\\"), 109 stringLiteral("'line1\\\\\\"), 116 stringLiteral("'line1"), 123 stringLiteral("'line1\\\\"), 130 stringLiteral("'line1\\\\\\\\"), 137 stringLiteral("\\"), 144 stringLiteral("\\"), [all …]
|
/third_party/typescript/tests/cases/fourslash/ |
D | syntacticClassificationsTemplates2.ts | 10 c.stringLiteral("`goodbye \"${"), c.stringLiteral("`hello world`"), 11 …c.stringLiteral("}\" \nand ${"), c.stringLiteral("`good${"), c.stringLiteral("\" \""), c.stringLit…
|
D | syntacticClassificationsTemplates1.ts | 13 c.identifier("p1"), c.punctuation(":"), c.stringLiteral("`hello world`"), c.punctuation(","), 14 …uation(":"), c.stringLiteral("`goodbye ${"), c.numericLiteral("0"), c.stringLiteral("} cruel ${"),…
|
D | syntacticClassificationsMergeConflictMarker1.ts | 13 c.stringLiteral("\"AAAA\""), 15 c.stringLiteral("\"BBBB\""),
|
/third_party/typescript/tests/baselines/reference/ |
D | typeArgumentsWithStringLiteralTypes01.errors.txt | 1 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(36,25): error … 2 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(37,25): error … 3 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(38,25): error … 4 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(39,25): error … 5 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(40,25): error … 6 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(43,30): error … 7 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(44,30): error … 8 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(45,30): error … 9 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(46,30): error … 10 tests/cases/conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts(47,30): error … [all …]
|
D | requireOfJsonFileTypes.js | 12 let stringLiteral: string; variable 16 stringLiteral = b.b; 20 stringLiteral = d; 75 var stringLiteral; variable 78 stringLiteral = b.b; 82 stringLiteral = d;
|
D | stringLiteralTypesWithVariousOperators02.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(6,9): error… 2 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(7,9): error… 3 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(8,9): error… 4 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(9,9): error… 5 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(10,9): erro… 6 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(11,9): erro… 7 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(12,11): err… 8 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(13,9): erro… 9 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(14,9): erro… 10 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts(16,9): erro… [all …]
|
D | requireOfJsonFileTypes.types | 25 let stringLiteral: string; 26 >stringLiteral : string 38 stringLiteral = b.b; 39 >stringLiteral = b.b : string 40 >stringLiteral : string 66 stringLiteral = d; 67 >stringLiteral = d : string 68 >stringLiteral : string
|
D | requireOfJsonFileTypes.symbols | 24 let stringLiteral: string; 25 >stringLiteral : Symbol(stringLiteral, Decl(file1.ts, 8, 3)) 36 stringLiteral = b.b; 37 >stringLiteral : Symbol(stringLiteral, Decl(file1.ts, 8, 3)) 58 stringLiteral = d; 59 >stringLiteral : Symbol(stringLiteral, Decl(file1.ts, 8, 3))
|
D | objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.types | 4 >y : { stringLiteral: any; 42: any; readonly e: void; f: any; this: any; super: any; var: any; clas… 5 >{ "stringLiteral", 42, get e, set f, this, super, var, class, typeof} :… 7 "stringLiteral", 8 >"stringLiteral" : any
|
D | findAllRefsNonModule.baseline.jsonc | 26 "kind": "stringLiteral" 87 "kind": "stringLiteral" 127 // === /stringLiteral.ts === 145 "kind": "stringLiteral" 179 "fileName": "/stringLiteral.ts",
|
D | quickInfoDisplayPartsVarWithStringTypes01.baseline | 37 "kind": "stringLiteral" 78 "kind": "stringLiteral" 119 "kind": "stringLiteral" 135 "kind": "stringLiteral"
|
D | stringLiteralTypesWithTemplateStrings02.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithTemplateStrings02.ts(1,5): error … 2 tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithTemplateStrings02.ts(3,5): error … 5 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesWithTemplateStrings02.ts (2 erro…
|
D | stringLiteralTypesOverloads05.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloads05.ts(6,10): error TS2394: T… 4 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloads05.ts (1 errors) ==== 13 !!! related TS2750 tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloads05.ts:9:1…
|
D | quickInfoDisplayPartsExternalModuleAlias_file0.baseline | 49 "kind": "stringLiteral" 135 "kind": "stringLiteral" 192 "kind": "stringLiteral" 278 "kind": "stringLiteral"
|
D | quickInfoDisplayPartsEnum3.baseline | 70 "kind": "stringLiteral" 135 "kind": "stringLiteral" 200 "kind": "stringLiteral" 405 "kind": "stringLiteral" 540 "kind": "stringLiteral" 675 "kind": "stringLiteral" 777 "kind": "stringLiteral" 842 "kind": "stringLiteral" 907 "kind": "stringLiteral" 1128 "kind": "stringLiteral" [all …]
|
D | quickInfoDisplayPartsEnum2.baseline | 70 "kind": "stringLiteral" 135 "kind": "stringLiteral" 200 "kind": "stringLiteral" 405 "kind": "stringLiteral" 540 "kind": "stringLiteral" 675 "kind": "stringLiteral" 777 "kind": "stringLiteral" 842 "kind": "stringLiteral" 907 "kind": "stringLiteral" 1128 "kind": "stringLiteral" [all …]
|
D | objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.symbols | 6 "stringLiteral", 7 >"stringLiteral" : Symbol("stringLiteral", Decl(objectLiteralShorthandPropertiesErrorFromNotUsingId…
|
D | stringLiteralTypesOverloadAssignability02.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability02.ts(14,1): err… 4 tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability02.ts(15,1): err… 9 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability02.ts (2 er…
|
D | stringLiteralTypesOverloadAssignability01.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability01.ts(14,1): err… 4 tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability01.ts(15,1): err… 9 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability01.ts (2 er…
|
D | stringLiteralTypesAndLogicalOrExpressions01.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesAndLogicalOrExpressions01.ts(7,5): er… 4 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesAndLogicalOrExpressions01.ts (1 …
|
D | stringLiteralTypesInVariableDeclarations01.errors.txt | 1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesInVariableDeclarations01.ts(4,7): err… 4 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesInVariableDeclarations01.ts (1 e…
|
D | quickInfoDisplayPartsLiteralLikeNames01.baseline | 41 "kind": "stringLiteral" 240 "kind": "stringLiteral" 309 "kind": "stringLiteral" 378 "kind": "stringLiteral" 642 "kind": "stringLiteral"
|
D | quickInfoDisplayPartsConst.baseline | 37 "kind": "stringLiteral" 78 "kind": "stringLiteral" 119 "kind": "stringLiteral" 160 "kind": "stringLiteral" 201 "kind": "stringLiteral" 250 "kind": "stringLiteral" 291 "kind": "stringLiteral"
|
/third_party/typescript/tests/cases/compiler/ |
D | requireOfJsonFileTypes.ts | 18 let stringLiteral: string; variable 22 stringLiteral = b.b; 26 stringLiteral = d;
|