Removed unused getContainingParameter function

This commit is contained in:
Ron Buckton 2015-06-17 16:05:55 -07:00
parent 1b93265257
commit b25d855341

View file

@ -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 {
while (true) {