crapifyme
Version:
Ultra-fast developer productivity CLI tools - remove comments, logs, and more
30 lines • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommentCategory = exports.LexerState = exports.ExitCode = void 0;
var ExitCode;
(function (ExitCode) {
ExitCode[ExitCode["Success"] = 0] = "Success";
ExitCode[ExitCode["IssuesFound"] = 1] = "IssuesFound";
ExitCode[ExitCode["Error"] = 2] = "Error";
})(ExitCode || (exports.ExitCode = ExitCode = {}));
var LexerState;
(function (LexerState) {
LexerState["CODE"] = "code";
LexerState["SINGLE_STRING"] = "single_string";
LexerState["DOUBLE_STRING"] = "double_string";
LexerState["TEMPLATE_STRING"] = "template_string";
LexerState["REGEX"] = "regex";
LexerState["LINE_COMMENT"] = "line_comment";
LexerState["BLOCK_COMMENT"] = "block_comment";
LexerState["HTML_COMMENT"] = "html_comment";
})(LexerState || (exports.LexerState = LexerState = {}));
var CommentCategory;
(function (CommentCategory) {
CommentCategory["DEVELOPMENT"] = "development";
CommentCategory["FRAMEWORK"] = "framework";
CommentCategory["TOOLING"] = "tooling";
CommentCategory["DOCUMENTATION"] = "documentation";
CommentCategory["CUSTOM"] = "custom";
CommentCategory["REGULAR"] = "regular";
})(CommentCategory || (exports.CommentCategory = CommentCategory = {}));
//# sourceMappingURL=types.js.map