refactor: remove various leftover unused or deprecated code (#11091)

This commit is contained in:
Igor Minar
2016-08-26 09:12:27 -07:00
committed by Victor Berchet
parent 0cf5ece7f8
commit 4d7d2a2daa
8 changed files with 1 additions and 84 deletions

View File

@ -57,10 +57,6 @@ export class Token {
isKeyword(): boolean { return this.type == TokenType.Keyword; }
isKeywordDeprecatedVar(): boolean {
return this.type == TokenType.Keyword && this.strValue == 'var';
}
isKeywordLet(): boolean { return this.type == TokenType.Keyword && this.strValue == 'let'; }
isKeywordNull(): boolean { return this.type == TokenType.Keyword && this.strValue == 'null'; }
@ -392,4 +388,4 @@ function unescape(code: number): number {
default:
return code;
}
}
}