Remove some unused variables
This commit is contained in:
parent
aa02ab5886
commit
d16dcaaf1d
|
@ -798,7 +798,6 @@ module TypeScript.Services.Breakpoints {
|
|||
var container = Syntax.containingNode(varDeclarationNode);
|
||||
var varDeclarationSyntax = <TypeScript.VariableDeclarationSyntax>varDeclarationNode;
|
||||
var varDeclarators = varDeclarationSyntax.variableDeclarators;
|
||||
var varDeclaratorsCount = childCount(varDeclarators); // varDeclarators has to be non null because its checked in canHaveBreakpoint
|
||||
|
||||
if (container && container.kind() == TypeScript.SyntaxKind.VariableStatement) {
|
||||
return this.breakpointSpanOfVariableStatement(container);
|
||||
|
|
|
@ -211,8 +211,6 @@ module TypeScript.Services {
|
|||
signatureGroupInfo.signatureInfo = TypeScript.MemberName.memberNameToString(symbolName, paramIndexInfo);
|
||||
signatureGroupInfo.docComment = symbol.docComments();
|
||||
|
||||
var parameterMarkerIndex = 0;
|
||||
|
||||
var typeSymbol = symbol.type;
|
||||
|
||||
var typeParameters = typeSymbol.getTypeParameters();
|
||||
|
|
|
@ -84,7 +84,6 @@ module TypeScript {
|
|||
private cacheSyntaxTreeInfo(): void {
|
||||
// If we're not keeping around the syntax tree, store the diagnostics and line
|
||||
// map so they don't have to be recomputed.
|
||||
var sourceUnit = this.sourceUnit();
|
||||
var firstToken = firstSyntaxTreeToken(this);
|
||||
var leadingTrivia = firstToken.leadingTrivia(this.text);
|
||||
|
||||
|
|
|
@ -150,7 +150,6 @@ module TypeScript.Syntax {
|
|||
|
||||
// When we run into a newline for the first time, create the string builder and copy
|
||||
// all the values up to this newline into it.
|
||||
var isCarriageReturnLineFeed = false;
|
||||
switch (ch) {
|
||||
case CharacterCodes.carriageReturn:
|
||||
if (i < triviaText.length - 1 && triviaText.charCodeAt(i + 1) === CharacterCodes.lineFeed) {
|
||||
|
|
Loading…
Reference in a new issue