Removed unused getContainingParameter function
This commit is contained in:
parent
1b93265257
commit
b25d855341
1 changed files with 0 additions and 13 deletions
|
@ -640,19 +640,6 @@ namespace ts {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getContainingParameter(node: Node): ParameterDeclaration {
|
|
||||||
while (true) {
|
|
||||||
node = node.parent;
|
|
||||||
if (!node || isFunctionLike(node)) {
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (node.kind === SyntaxKind.Parameter) {
|
|
||||||
return <ParameterDeclaration>node;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function getThisContainer(node: Node, includeArrowFunctions: boolean): Node {
|
export function getThisContainer(node: Node, includeArrowFunctions: boolean): Node {
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
Loading…
Reference in a new issue