1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var LinterError = (function () {
|
4 | function LinterError(lineNumber, message) {
|
5 | if (lineNumber) {
|
6 | this.lineError = lineNumber;
|
7 | }
|
8 | if (message) {
|
9 | this.message = message;
|
10 | }
|
11 | }
|
12 | LinterError.prototype.toString = function () {
|
13 | return this.lineError + ": " + this.message;
|
14 | };
|
15 | LinterError.prototype.getLine = function () {
|
16 | return this.lineError;
|
17 | };
|
18 | return LinterError;
|
19 | }());
|
20 | exports.LinterError = LinterError;
|