Home
last modified time | relevance | path

Searched refs:templateSpans (Results 1 – 19 of 19) sorted by relevance

/third_party/typescript/src/services/refactors/
DconvertStringOrTemplateLiteral.ts200 const templateSpans: TemplateSpan[] = []; constant
213 const spans = map(currentNode.templateSpans, (span, index) => {
215 const isLastSpan = index === currentNode.templateSpans.length - 1;
222 templateSpans.push(...spans);
229 templateSpans.push(factory.createTemplateSpan(currentNode, templatePart));
233 return factory.createTemplateExpression(templateHead, templateSpans);
/third_party/typescript/src/compiler/transformers/
DtaggedTemplate.ts38 for (const templateSpan of template.templateSpans) {
Des2015.ts4170 for (const span of node.templateSpans) {
/third_party/typescript/src/services/
DsignatureHelp.ts257 const spanIndex = templateSpan.parent.templateSpans.indexOf(templateSpan);
427 …utionTemplateLiteral(tagExpression.template) ? 1 : tagExpression.template.templateSpans.length + 1;
468 const lastSpan = last(template.templateSpans);
Dutilities.ts662 const lastSpan = lastOrUndefined((n as TemplateExpression).templateSpans);
/third_party/typescript/src/compiler/factory/
DnodeFactory.ts2107 …function createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralType…
2110 node.templateSpans = createNodeArray(templateSpans);
2116 …emplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readonly Temp…
2118 || node.templateSpans !== templateSpans
2119 ? update(createTemplateLiteralType(head, templateSpans), node)
3008 … function createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]) {
3011 node.templateSpans = createNodeArray(templateSpans);
3014 propagateChildrenFlags(node.templateSpans) |
3020 …pdateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Temp…
3022 || node.templateSpans !== templateSpans
[all …]
/third_party/typescript/src/compiler/
DvisitorPublic.ts700 nodesVisitor(node.templateSpans, visitor, isTemplateLiteralTypeSpan));
877 nodesVisitor(node.templateSpans, visitor, isTemplateSpan));
Dtypes.ts2117 readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>;
2637 readonly templateSpans: NodeArray<TemplateSpan>;
7973 …createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralTypeSpan[]): …
7974 …updateTemplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readon…
8037 …createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): TemplateExpr…
8038 …updateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Tem…
Dutilities.ts4103 …: (template.head.templateFlags || some(template.templateSpans, span => !!span.literal.templateFlag…
7523 return (node as TemplateLiteralTypeSpan).parent.templateSpans;
7525 return (node as TemplateSpan).parent.templateSpans;
Demitter.ts2430 emitList(node, node.templateSpans, ListFormat.TemplateExpressionSpans);
2832 emitList(node, node.templateSpans, ListFormat.TemplateExpressionSpans);
Dparser.ts592 visitNodes(cbNode, cbNodes, node.templateSpans);
600 visitNodes(cbNode, cbNodes, node.templateSpans);
Dchecker.ts5391 const templateSpans = factory.createNodeArray(
5396 return factory.createTemplateLiteralType(templateHead, templateSpans);
15690 [node.head.text, ...map(node.templateSpans, span => span.literal.text)],
15691 map(node.templateSpans, span => getTypeFromTypeNode(span.type)));
30516 … const lastSpan = last(node.template.templateSpans); // we should always have at least one span.
31048 forEach(template.templateSpans, span => {
35442 for (const span of node.templateSpans) {
37048 for (const span of node.templateSpans) {
/third_party/typescript/lib/
Dtypescript.d.ts1044 readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>; property
1264 readonly templateSpans: NodeArray<TemplateSpan>; property
3709 …createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralTypeSpan[]): …
3710 …updateTemplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readon…
3763 …createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): TemplateExpr…
3764 …updateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Tem…
7731 …const createTemplateExpression: (head: TemplateHead, templateSpans: readonly TemplateSpan[]) => Te…
7733 …const updateTemplateExpression: (node: TemplateExpression, head: TemplateHead, templateSpans: read…
DtypescriptServices.d.ts1044 readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>; property
1264 readonly templateSpans: NodeArray<TemplateSpan>; property
3709 …createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralTypeSpan[]): …
3710 …updateTemplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readon…
3763 …createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): TemplateExpr…
3764 …updateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Tem…
7731 …const createTemplateExpression: (head: TemplateHead, templateSpans: readonly TemplateSpan[]) => Te…
7733 …const updateTemplateExpression: (node: TemplateExpression, head: TemplateHead, templateSpans: read…
Dtsserverlibrary.d.ts1044 readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>; property
1264 readonly templateSpans: NodeArray<TemplateSpan>; property
3709 …createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralTypeSpan[]): …
3710 …updateTemplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readon…
3763 …createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): TemplateExpr…
3764 …updateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Tem…
11670 …const createTemplateExpression: (head: TemplateHead, templateSpans: readonly TemplateSpan[]) => Te…
11672 …const updateTemplateExpression: (node: TemplateExpression, head: TemplateHead, templateSpans: read…
DtypingsInstaller.js18433 …: (template.head.templateFlags || ts.some(template.templateSpans, function (span) { return !!span.…
21546 return node.parent.templateSpans;
21548 return node.parent.templateSpans;
24286 function createTemplateLiteralType(head, templateSpans) { argument
24289 node.templateSpans = createNodeArray(templateSpans);
24294 function updateTemplateLiteralType(node, head, templateSpans) { argument
24296 || node.templateSpans !== templateSpans
24297 ? update(createTemplateLiteralType(head, templateSpans), node)
25042 function createTemplateExpression(head, templateSpans) { argument
25045 node.templateSpans = createNodeArray(templateSpans);
[all …]
Dtsc.js14450 …: (template.head.templateFlags || ts.some(template.templateSpans, function (span) { return !!span.…
17185 return node.parent.templateSpans;
17187 return node.parent.templateSpans;
19476 function createTemplateLiteralType(head, templateSpans) { argument
19479 node.templateSpans = createNodeArray(templateSpans);
19483 function updateTemplateLiteralType(node, head, templateSpans) { argument
19485 || node.templateSpans !== templateSpans
19486 ? update(createTemplateLiteralType(head, templateSpans), node)
20139 function createTemplateExpression(head, templateSpans) { argument
20142 node.templateSpans = createNodeArray(templateSpans);
[all …]
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts1044 readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>; property
1264 readonly templateSpans: NodeArray<TemplateSpan>; property
3709 …createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralTypeSpan[]): …
3710 …updateTemplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readon…
3763 …createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): TemplateExpr…
3764 …updateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Tem…
7731 …const createTemplateExpression: (head: TemplateHead, templateSpans: readonly TemplateSpan[]) => Te…
7733 …const updateTemplateExpression: (node: TemplateExpression, head: TemplateHead, templateSpans: read…
Dtsserverlibrary.d.ts1044 readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>; property
1264 readonly templateSpans: NodeArray<TemplateSpan>; property
3709 …createTemplateLiteralType(head: TemplateHead, templateSpans: readonly TemplateLiteralTypeSpan[]): …
3710 …updateTemplateLiteralType(node: TemplateLiteralTypeNode, head: TemplateHead, templateSpans: readon…
3763 …createTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): TemplateExpr…
3764 …updateTemplateExpression(node: TemplateExpression, head: TemplateHead, templateSpans: readonly Tem…
11670 …const createTemplateExpression: (head: TemplateHead, templateSpans: readonly TemplateSpan[]) => Te…
11672 …const updateTemplateExpression: (node: TemplateExpression, head: TemplateHead, templateSpans: read…