Searched refs:bindingElements (Results 1 – 8 of 8) sorted by relevance
/third_party/typescript/src/compiler/transformers/ |
D | destructuring.ts | 321 let bindingElements: BindingOrAssignmentElement[] | undefined; 331 … bindingElements = append(bindingElements, visitNode(element, flattenContext.visitor)); 334 if (bindingElements) { 335 …ngOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, loca… 336 bindingElements = undefined; 346 if (bindingElements) { 347 …ngOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, loca… 348 bindingElements = undefined; 354 if (bindingElements) { 355 …ngOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, loca… [all …]
|
/third_party/typescript/src/services/refactors/ |
D | moveToNewFile.ts | 327 …const bindingElements = imports.map(i => factory.createBindingElement(/*dotDotDotToken*/ undefined… constant 328 return bindingElements.length 329 …? makeVariableStatement(factory.createObjectBindingPattern(bindingElements), /*type*/ undefined, c…
|
D | convertParamsToDestructuredObject.ts | 466 … const bindingElements = map(refactorableParameters, createBindingElementFromParameterDeclaration); constant 467 const objectParameterName = factory.createObjectBindingPattern(bindingElements);
|
D | extractSymbol.ts | 1025 const bindingElements: BindingElement[] = []; constant 1030 bindingElements.push(factory.createBindingElement( 1059 factory.createObjectBindingPattern(bindingElements),
|
/third_party/typescript/src/services/codefixes/ |
D | importFixes.ts | 1310 …const bindingElements = namedImports?.map(({ name }) => factory.createBindingElement(/*dotDotDotTo… constant 1312 …bindingElements.unshift(factory.createBindingElement(/*dotDotDotToken*/ undefined, "default", defa… 1314 …eateConstEqualsRequireDeclaration(factory.createObjectBindingPattern(bindingElements), quotedModul…
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 85964 var bindingPattern = _a[0], bindingElements = _a[1]; 85966 if (bindingPattern.elements.length === bindingElements.length) { 85967 …if (bindingElements.length === 1 && bindingPattern.parent.kind === 259 /* SyntaxKind.VariableDecla… 85971 addDiagnostic(bindingPattern, kind, bindingElements.length === 1 85972 …ostics._0_is_declared_but_its_value_is_never_read, bindingNameText(ts.first(bindingElements).name)) 85977 … for (var _i = 0, bindingElements_1 = bindingElements; _i < bindingElements_1.length; _i++) { 95516 var bindingElements; 95526 … bindingElements = ts.append(bindingElements, ts.visitNode(element, flattenContext.visitor)); 95529 if (bindingElements) { 95530 …ngOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, loca… [all …]
|
D | tsc.js | 72399 var bindingPattern = _a[0], bindingElements = _a[1]; 72401 if (bindingPattern.elements.length === bindingElements.length) { 72402 …if (bindingElements.length === 1 && bindingPattern.parent.kind === 259 && bindingPattern.parent.pa… 72406 addDiagnostic(bindingPattern, kind, bindingElements.length === 1 72407 …ostics._0_is_declared_but_its_value_is_never_read, bindingNameText(ts.first(bindingElements).name)) 72412 … for (var _i = 0, bindingElements_1 = bindingElements; _i < bindingElements_1.length; _i++) { 80784 var bindingElements; 80794 … bindingElements = ts.append(bindingElements, ts.visitNode(element, flattenContext.visitor)); 80797 if (bindingElements) { 80798 …ngOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, loca… [all …]
|
/third_party/typescript/src/compiler/ |
D | checker.ts | 38628 unusedDestructures.forEach(([bindingPattern, bindingElements]) => { 38630 if (bindingPattern.elements.length === bindingElements.length) { 38631 …if (bindingElements.length === 1 && bindingPattern.parent.kind === SyntaxKind.VariableDeclaration … 38635 addDiagnostic(bindingPattern, kind, bindingElements.length === 1 38636 …agnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(bindingElements).name)) 38641 for (const e of bindingElements) {
|