Home
last modified time | relevance | path

Searched refs:stringLiteral (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/typescript/src/testRunner/unittests/services/
Dcolorization.ts33 …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/
DsyntacticClassificationsTemplates2.ts10 c.stringLiteral("`goodbye \"${"), c.stringLiteral("`hello world`"),
11 …c.stringLiteral("}\" \nand ${"), c.stringLiteral("`good${"), c.stringLiteral("\" \""), c.stringLit…
DsyntacticClassificationsTemplates1.ts13 c.identifier("p1"), c.punctuation(":"), c.stringLiteral("`hello world`"), c.punctuation(","),
14 …uation(":"), c.stringLiteral("`goodbye ${"), c.numericLiteral("0"), c.stringLiteral("} cruel ${"),…
DsyntacticClassificationsMergeConflictMarker1.ts13 c.stringLiteral("\"AAAA\""),
15 c.stringLiteral("\"BBBB\""),
/third_party/typescript/tests/baselines/reference/
DtypeArgumentsWithStringLiteralTypes01.errors.txt1 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 …]
DrequireOfJsonFileTypes.js12 let stringLiteral: string; variable
16 stringLiteral = b.b;
20 stringLiteral = d;
75 var stringLiteral; variable
78 stringLiteral = b.b;
82 stringLiteral = d;
DstringLiteralTypesWithVariousOperators02.errors.txt1 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 …]
DrequireOfJsonFileTypes.types25 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
DrequireOfJsonFileTypes.symbols24 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))
DobjectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.types4 >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
DfindAllRefsNonModule.baseline.jsonc26 "kind": "stringLiteral"
87 "kind": "stringLiteral"
127 // === /stringLiteral.ts ===
145 "kind": "stringLiteral"
179 "fileName": "/stringLiteral.ts",
DquickInfoDisplayPartsVarWithStringTypes01.baseline37 "kind": "stringLiteral"
78 "kind": "stringLiteral"
119 "kind": "stringLiteral"
135 "kind": "stringLiteral"
DstringLiteralTypesWithTemplateStrings02.errors.txt1 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…
DstringLiteralTypesOverloads05.errors.txt1 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…
DquickInfoDisplayPartsExternalModuleAlias_file0.baseline49 "kind": "stringLiteral"
135 "kind": "stringLiteral"
192 "kind": "stringLiteral"
278 "kind": "stringLiteral"
DquickInfoDisplayPartsEnum3.baseline70 "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 …]
DquickInfoDisplayPartsEnum2.baseline70 "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 …]
DobjectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.symbols6 "stringLiteral",
7 >"stringLiteral" : Symbol("stringLiteral", Decl(objectLiteralShorthandPropertiesErrorFromNotUsingId…
DstringLiteralTypesOverloadAssignability02.errors.txt1 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…
DstringLiteralTypesOverloadAssignability01.errors.txt1 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…
DstringLiteralTypesAndLogicalOrExpressions01.errors.txt1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesAndLogicalOrExpressions01.ts(7,5): er…
4 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesAndLogicalOrExpressions01.ts (1 …
DstringLiteralTypesInVariableDeclarations01.errors.txt1 tests/cases/conformance/types/stringLiteral/stringLiteralTypesInVariableDeclarations01.ts(4,7): err…
4 ==== tests/cases/conformance/types/stringLiteral/stringLiteralTypesInVariableDeclarations01.ts (1 e…
DquickInfoDisplayPartsLiteralLikeNames01.baseline41 "kind": "stringLiteral"
240 "kind": "stringLiteral"
309 "kind": "stringLiteral"
378 "kind": "stringLiteral"
642 "kind": "stringLiteral"
DquickInfoDisplayPartsConst.baseline37 "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/
DrequireOfJsonFileTypes.ts18 let stringLiteral: string; variable
22 stringLiteral = b.b;
26 stringLiteral = d;

12345