mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Remove uneeded code.
This commit is contained in:
parent
64c7f3d38b
commit
caddec902a
@ -2,8 +2,6 @@
|
||||
/// <reference path="utilities.ts"/>
|
||||
|
||||
module ts {
|
||||
export var throwOnJSDocErrors = false;
|
||||
|
||||
let nodeConstructors = new Array<new () => Node>(SyntaxKind.Count);
|
||||
/* @internal */ export let parseTime = 0;
|
||||
|
||||
@ -5049,13 +5047,6 @@ module ts {
|
||||
return finishNode(result);
|
||||
}
|
||||
|
||||
function setError(message: DiagnosticMessage) {
|
||||
parseErrorAtCurrentToken(message);
|
||||
if (throwOnJSDocErrors) {
|
||||
throw new Error(message.key);
|
||||
}
|
||||
}
|
||||
|
||||
function parseJSDocTopLevelType(): JSDocType {
|
||||
var type = parseJSDocType();
|
||||
if (token === SyntaxKind.BarToken) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user