sass-formatter
Version:
TypeScript Sass formatter
22 lines (21 loc) • 542 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SassTextLine = void 0;
const regex_1 = require("./regex/regex");
class SassTextLine {
text;
isEmptyOrWhitespace;
constructor(text) {
this.text = text;
this.isEmptyOrWhitespace = (0, regex_1.isEmptyOrWhitespace)(text);
}
/**Sets the text of the line. */
set(text) {
this.text = text;
}
/**Gets the text of the line. */
get() {
return this.text;
}
}
exports.SassTextLine = SassTextLine;