/third_party/typescript/src/services/refactors/ |
D | moveToNewFile.ts | 572 case SyntaxKind.BindingElement: 680 …opLevelDeclaration = NonVariableTopLevelDeclaration | TopLevelVariableDeclaration | BindingElement; 734 …return cb(cast(name.parent, (x): x is TopLevelVariableDeclaration | BindingElement => isVariableDe… 751 case SyntaxKind.BindingElement: 753 …cast(d.parent.parent, (p): p is TopLevelVariableDeclaration | BindingElement => isVariableDeclarat…
|
/third_party/typescript/src/compiler/ |
D | utilitiesPublic.ts | 268 export function isEmptyBindingElement(node: BindingElement): boolean { 275 …export function walkUpBindingElementsAndPatterns(binding: BindingElement): VariableDeclaration | P… 1354 return kind === SyntaxKind.BindingElement 1363 …AssignmentElement): bindingElement is VariableDeclaration | ParameterDeclaration | BindingElement { 1367 case SyntaxKind.BindingElement:
|
D | visitorPublic.ts | 596 case SyntaxKind.BindingElement: 597 return factory.updateBindingElement(<BindingElement>node, 598 nodeVisitor((<BindingElement>node).dotDotDotToken, tokenVisitor, isToken), 599 nodeVisitor((<BindingElement>node).propertyName, visitor, isPropertyName), 600 nodeVisitor((<BindingElement>node).name, visitor, isBindingName), 601 nodeVisitor((<BindingElement>node).initializer, visitor, isExpression));
|
D | types.ts | 241 BindingElement, enumerator 957 | BindingElement 1289 export interface BindingElement extends NamedDeclaration { 1290 readonly kind: SyntaxKind.BindingElement; 1299 export type BindingElementGrandparent = BindingElement["parent"]["parent"]; 1371 | BindingElement 1387 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 1388 readonly elements: NodeArray<BindingElement>; 1393 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 1399 export type ArrayBindingElement = BindingElement | OmittedExpression; [all …]
|
D | binder.ts | 845 case SyntaxKind.BindingElement: 846 bindBindingElementFlow(<BindingElement>node); 1674 function bindBindingElementFlow(node: BindingElement) { 2633 case SyntaxKind.BindingElement: 2635 return bindVariableDeclarationOrBindingElement(<BindingElement>node); 3307 … function bindVariableDeclarationOrBindingElement(node: VariableDeclaration | BindingElement) {
|
/third_party/typescript/src/compiler/transformers/ |
D | es2017.ts | 375 …clarationName({ name }: ParameterDeclaration | VariableDeclaration | BindingElement, names: Set<__… 413 function hoistVariable({ name }: VariableDeclaration | BindingElement) { 437 … function collidesWithParameterName({ name }: VariableDeclaration | BindingElement): boolean {
|
D | utilities.ts | 224 …function collectExportedVariableInfo(decl: VariableDeclaration | BindingElement, uniqueExports: ES…
|
D | declarations.ts | 502 | BindingElement 543 … if (node.kind === SyntaxKind.VariableDeclaration || node.kind === SyntaxKind.BindingElement) { 586 …function getBindingNameVisible(elem: BindingElement | VariableDeclaration | OmittedExpression): bo…
|
/third_party/typescript/src/compiler/transformers/declarations/ |
D | diagnostics.ts | 15 | BindingElement 164 … if (node.kind === SyntaxKind.VariableDeclaration || node.kind === SyntaxKind.BindingElement) {
|
/third_party/typescript/src/services/ |
D | importTracker.ts | 601 return (parent as VariableDeclaration | BindingElement).name !== node ? undefined : 621 case SyntaxKind.BindingElement:
|
D | navigationBar.ts | 186 …ecursiveInitializer(node: VariableDeclaration | PropertyAssignment | BindingElement | PropertyDecl… 271 case SyntaxKind.BindingElement: 274 const child = <VariableDeclaration | PropertyAssignment | BindingElement>node;
|
D | breakpoints.ts | 191 case SyntaxKind.BindingElement: 529 if (bindingPattern.parent.kind === SyntaxKind.BindingElement) {
|
D | classifier2020.ts | 204 …function getDeclarationForBindingElement(element: BindingElement): VariableDeclaration | Parameter…
|
D | findAllReferences.ts | 125 case SyntaxKind.BindingElement: 226 || node.parent.kind === SyntaxKind.BindingElement 564 case SyntaxKind.BindingElement: 2143 … const bindingElement = getDeclarationOfKind<BindingElement>(symbol, SyntaxKind.BindingElement);
|
D | goToDefinition.ts | 249 case SyntaxKind.BindingElement:
|
/third_party/typescript/src/debug/ |
D | dbg.ts | 15 type BindingElement = Node; alias 90 node: Expression | VariableDeclaration | BindingElement;
|
/third_party/typescript/lib/ |
D | typescript.d.ts | 306 BindingElement = 199, enumerator 571 …ExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertySign… 717 export interface BindingElement extends NamedDeclaration { interface 718 readonly kind: SyntaxKind.BindingElement; 769 …riableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDecl… 775 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 776 readonly elements: NodeArray<BindingElement>; 780 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 784 export type ArrayBindingElement = BindingElement | OmittedExpression; 1106 …export type ObjectBindingOrAssignmentElement = BindingElement | PropertyAssignment | ShorthandProp… [all …]
|
D | typescriptServices.d.ts | 306 BindingElement = 199, enumerator 571 …ExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertySign… 717 export interface BindingElement extends NamedDeclaration { interface 718 readonly kind: SyntaxKind.BindingElement; 769 …riableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDecl… 775 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 776 readonly elements: NodeArray<BindingElement>; 780 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 784 export type ArrayBindingElement = BindingElement | OmittedExpression; 1106 …export type ObjectBindingOrAssignmentElement = BindingElement | PropertyAssignment | ShorthandProp… [all …]
|
D | tsserverlibrary.d.ts | 306 BindingElement = 199, enumerator 571 …ExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertySign… 717 export interface BindingElement extends NamedDeclaration { interface 718 readonly kind: SyntaxKind.BindingElement; 769 …riableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDecl… 775 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 776 readonly elements: NodeArray<BindingElement>; 780 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 784 export type ArrayBindingElement = BindingElement | OmittedExpression; 1106 …export type ObjectBindingOrAssignmentElement = BindingElement | PropertyAssignment | ShorthandProp… [all …]
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 306 BindingElement = 199, enumerator 582 …ExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertySign… 728 export interface BindingElement extends NamedDeclaration { interface 729 readonly kind: SyntaxKind.BindingElement; 780 …riableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDecl… 786 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 787 readonly elements: NodeArray<BindingElement>; 791 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 795 export type ArrayBindingElement = BindingElement | OmittedExpression; 1117 …export type ObjectBindingOrAssignmentElement = BindingElement | PropertyAssignment | ShorthandProp… [all …]
|
D | tsserverlibrary.d.ts | 306 BindingElement = 199, enumerator 582 …ExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertySign… 728 export interface BindingElement extends NamedDeclaration { interface 729 readonly kind: SyntaxKind.BindingElement; 780 …riableLikeDeclaration = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDecl… 786 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 787 readonly elements: NodeArray<BindingElement>; 791 readonly parent: VariableDeclaration | ParameterDeclaration | BindingElement; 795 export type ArrayBindingElement = BindingElement | OmittedExpression; 1117 …export type ObjectBindingOrAssignmentElement = BindingElement | PropertyAssignment | ShorthandProp… [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | convertToEs6Module.ts | 526 case SyntaxKind.BindingElement: 527 return (parent as BindingElement).propertyName !== node;
|
D | returnValueCorrect.ts | 193 case SyntaxKind.BindingElement:
|
/third_party/typescript/src/compiler/factory/ |
D | utilities.ts | 682 case SyntaxKind.BindingElement: 706 case SyntaxKind.BindingElement:
|
D | nodeTests.ts | 254 export function isBindingElement(node: Node): node is BindingElement { 255 return node.kind === SyntaxKind.BindingElement;
|