Home
last modified time | relevance | path

Searched refs:BindingElement (Results 1 – 25 of 41) sorted by relevance

12

/third_party/typescript/src/services/refactors/
DmoveToNewFile.ts572 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/
DutilitiesPublic.ts268 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:
DvisitorPublic.ts596 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));
Dtypes.ts241 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 …]
Dbinder.ts845 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/
Des2017.ts375 …clarationName({ name }: ParameterDeclaration | VariableDeclaration | BindingElement, names: Set<__…
413 function hoistVariable({ name }: VariableDeclaration | BindingElement) {
437 … function collidesWithParameterName({ name }: VariableDeclaration | BindingElement): boolean {
Dutilities.ts224 …function collectExportedVariableInfo(decl: VariableDeclaration | BindingElement, uniqueExports: ES…
Ddeclarations.ts502 | 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/
Ddiagnostics.ts15 | BindingElement
164 … if (node.kind === SyntaxKind.VariableDeclaration || node.kind === SyntaxKind.BindingElement) {
/third_party/typescript/src/services/
DimportTracker.ts601 return (parent as VariableDeclaration | BindingElement).name !== node ? undefined :
621 case SyntaxKind.BindingElement:
DnavigationBar.ts186 …ecursiveInitializer(node: VariableDeclaration | PropertyAssignment | BindingElement | PropertyDecl…
271 case SyntaxKind.BindingElement:
274 const child = <VariableDeclaration | PropertyAssignment | BindingElement>node;
Dbreakpoints.ts191 case SyntaxKind.BindingElement:
529 if (bindingPattern.parent.kind === SyntaxKind.BindingElement) {
Dclassifier2020.ts204 …function getDeclarationForBindingElement(element: BindingElement): VariableDeclaration | Parameter…
DfindAllReferences.ts125 case SyntaxKind.BindingElement:
226 || node.parent.kind === SyntaxKind.BindingElement
564 case SyntaxKind.BindingElement:
2143 … const bindingElement = getDeclarationOfKind<BindingElement>(symbol, SyntaxKind.BindingElement);
DgoToDefinition.ts249 case SyntaxKind.BindingElement:
/third_party/typescript/src/debug/
Ddbg.ts15 type BindingElement = Node; alias
90 node: Expression | VariableDeclaration | BindingElement;
/third_party/typescript/lib/
Dtypescript.d.ts306 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 …]
DtypescriptServices.d.ts306 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 …]
Dtsserverlibrary.d.ts306 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/
Dtypescript.d.ts306 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 …]
Dtsserverlibrary.d.ts306 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/
DconvertToEs6Module.ts526 case SyntaxKind.BindingElement:
527 return (parent as BindingElement).propertyName !== node;
DreturnValueCorrect.ts193 case SyntaxKind.BindingElement:
/third_party/typescript/src/compiler/factory/
Dutilities.ts682 case SyntaxKind.BindingElement:
706 case SyntaxKind.BindingElement:
DnodeTests.ts254 export function isBindingElement(node: Node): node is BindingElement {
255 return node.kind === SyntaxKind.BindingElement;

12