Home
last modified time | relevance | path

Searched refs:numericLiteral (Results 1 – 25 of 39) sorted by relevance

12

/third_party/typescript/tests/cases/fourslash/
DsyntacticClassificationsObjectLiteral.ts16 …c.keyword("var"), c.identifier("v"), c.operator("="), c.numericLiteral("10e0"), c.punctuation(";"),
18 c.identifier("p1"), c.punctuation(":"), c.numericLiteral("1"), c.punctuation(","),
19 c.identifier("p2"), c.punctuation(":"), c.numericLiteral("2"), c.punctuation(","),
20 c.identifier("any"), c.punctuation(":"), c.numericLiteral("3"), c.punctuation(","),
21 c.identifier("function"), c.punctuation(":"), c.numericLiteral("4"), c.punctuation(","),
22 c.identifier("var"), c.punctuation(":"), c.numericLiteral("5"), c.punctuation(","),
23 …c.identifier("void"), c.punctuation(":"), c.keyword("void"), c.numericLiteral("0"), c.punctuation(…
DsyntacticClassificationsConflictDiff3Markers1.ts17 c.identifier("v"), c.operator("="), c.numericLiteral("1"), c.punctuation(";"),
19 c.identifier("v"), c.punctuation("="), c.numericLiteral("3"), c.punctuation(";"),
21 c.identifier("v"), c.punctuation("="), c.numericLiteral("2"), c.punctuation(";"),
DsyntacticClassificationsTemplates1.ts11 …c.keyword("var"), c.identifier("v"), c.operator("="), c.numericLiteral("10e0"), c.punctuation(";"),
14 …n(":"), c.stringLiteral("`goodbye ${"), c.numericLiteral("0"), c.stringLiteral("} cruel ${"), c.nu…
DsyntacticClassificationsConflictMarkers1.ts15 c.identifier("v"), c.operator("="), c.numericLiteral("1"), c.punctuation(";"),
17 c.identifier("v"), c.punctuation("="), c.numericLiteral("2"), c.punctuation(";"),
DsyntacticClassifications1.ts25 …rd("var"), c.identifier("v"), c.operator("="), c.numericLiteral("0"), c.operator("+"), c.numericLi…
DsyntacticClassificationsTripleSlash16.ts17 c.numericLiteral("1"));
DsyntacticClassificationsJsx1.ts16 …c.jsxAttribute("b"), c.operator("="), c.punctuation("{"), c.numericLiteral("1"), c.punctuation("}"…
DsyntacticClassificationsJsx2.ts16 …c.jsxAttribute("c"), c.operator("="), c.punctuation("{"), c.numericLiteral("1"), c.punctuation("}"…
/third_party/typescript/src/services/codefixes/
DuseBigintLiteral.ts23 … const numericLiteral = tryCast(getTokenAtPosition(sourceFile, span.start), isNumericLiteral); constant
24 if (!numericLiteral) {
29 const newText = numericLiteral.getText(sourceFile) + "n";
31 changeTracker.replaceNode(sourceFile, numericLiteral, factory.createBigIntLiteral(newText));
/third_party/typescript/tests/baselines/reference/
DquickInfoDisplayPartsEnum1.baseline86 "kind": "numericLiteral"
147 "kind": "numericLiteral"
208 "kind": "numericLiteral"
409 "kind": "numericLiteral"
540 "kind": "numericLiteral"
671 "kind": "numericLiteral"
769 "kind": "numericLiteral"
830 "kind": "numericLiteral"
891 "kind": "numericLiteral"
1108 "kind": "numericLiteral"
[all …]
DquickInfoDisplayPartsFunction.baseline234 "kind": "numericLiteral"
327 "kind": "numericLiteral"
420 "kind": "numericLiteral"
513 "kind": "numericLiteral"
606 "kind": "numericLiteral"
699 "kind": "numericLiteral"
792 "kind": "numericLiteral"
1042 "kind": "numericLiteral"
1135 "kind": "numericLiteral"
1228 "kind": "numericLiteral"
[all …]
DquickInfoDisplayPartsEnum2.baseline90 "kind": "numericLiteral"
155 "kind": "numericLiteral"
220 "kind": "numericLiteral"
425 "kind": "numericLiteral"
560 "kind": "numericLiteral"
695 "kind": "numericLiteral"
797 "kind": "numericLiteral"
862 "kind": "numericLiteral"
927 "kind": "numericLiteral"
1148 "kind": "numericLiteral"
[all …]
DquickInfoDisplayPartsEnum3.baseline90 "kind": "numericLiteral"
155 "kind": "numericLiteral"
220 "kind": "numericLiteral"
425 "kind": "numericLiteral"
560 "kind": "numericLiteral"
695 "kind": "numericLiteral"
797 "kind": "numericLiteral"
862 "kind": "numericLiteral"
927 "kind": "numericLiteral"
1148 "kind": "numericLiteral"
[all …]
DquickInfoDisplayPartsLocalFunction.baseline299 "kind": "numericLiteral"
400 "kind": "numericLiteral"
501 "kind": "numericLiteral"
602 "kind": "numericLiteral"
703 "kind": "numericLiteral"
804 "kind": "numericLiteral"
905 "kind": "numericLiteral"
1171 "kind": "numericLiteral"
1272 "kind": "numericLiteral"
1373 "kind": "numericLiteral"
[all …]
DquickInfoDisplayPartsClassConstructor.baseline294 "kind": "numericLiteral"
387 "kind": "numericLiteral"
480 "kind": "numericLiteral"
614 "kind": "numericLiteral"
748 "kind": "numericLiteral"
919 "kind": "numericLiteral"
1012 "kind": "numericLiteral"
1105 "kind": "numericLiteral"
1198 "kind": "numericLiteral"
1332 "kind": "numericLiteral"
[all …]
DquickInfoDisplayPartsVar.baseline989 "kind": "numericLiteral"
1094 "kind": "numericLiteral"
DquickInfoDisplayPartsVar.shims.baseline989 "kind": "numericLiteral"
1094 "kind": "numericLiteral"
DquickInfoDisplayPartsVar.shims-pp.baseline989 "kind": "numericLiteral"
1094 "kind": "numericLiteral"
DquickInfoDisplayPartsLet.baseline1063 "kind": "numericLiteral"
1168 "kind": "numericLiteral"
DquickInfoDisplayPartsConst.baseline1063 "kind": "numericLiteral"
1168 "kind": "numericLiteral"
/third_party/typescript/tests/cases/fourslash/shims-pp/
DgetSyntacticClassifications.ts25 …rd("var"), c.identifier("v"), c.operator("="), c.numericLiteral("0"), c.operator("+"), c.numericLi…
/third_party/typescript/tests/cases/fourslash/shims/
DgetSyntacticClassifications.ts25 …rd("var"), c.identifier("v"), c.operator("="), c.numericLiteral("0"), c.operator("+"), c.numericLi…
/third_party/typescript/src/services/
Dclassifier.ts290 case ClassificationType.numericLiteral: return TokenClass.NumberLiteral;
431 return ClassificationType.numericLiteral;
558 case ClassificationType.numericLiteral: return ClassificationTypeNames.numericLiteral;
990 return ClassificationType.numericLiteral;
Dtypes.ts1019 numericLiteral, enumerator
1404 numericLiteral = "number", enumerator
1433 numericLiteral = 4, enumerator
/third_party/typescript/src/harness/
DfourslashInterfaceImpl.ts827 function numericLiteral(text: string, position?: number): Classification {
828 return getClassification(ts.ClassificationTypeNames.numericLiteral, text, position);
916 numericLiteral,

12