UNPKG

606 BJavaScriptView Raw
1"use strict";
2exports.__esModule = true;
3exports.SassTextLine = void 0;
4var suf_regex_1 = require("suf-regex");
5var SassTextLine = /** @class */ (function () {
6 function SassTextLine(text) {
7 this.text = text;
8 this.isEmptyOrWhitespace = suf_regex_1.isEmptyOrWhitespace(text);
9 }
10 /**Sets the text of the line. */
11 SassTextLine.prototype.set = function (text) {
12 this.text = text;
13 };
14 /**Gets the text of the line. */
15 SassTextLine.prototype.get = function () {
16 return this.text;
17 };
18 return SassTextLine;
19}());
20exports.SassTextLine = SassTextLine;