Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / postcss-less / dist / tokenizer / tokenize-inline-comment.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/postcss-less/dist/tokenizer/tokenize-inline-comment.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/postcss-less/dist/tokenizer/tokenize-inline-comment.js
new file mode 100644 (file)
index 0000000..2f2ae03
--- /dev/null
@@ -0,0 +1,18 @@
+'use strict';
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.default = tokenizeInlineComment;
+function tokenizeInlineComment(state) {
+  state.nextPos = state.css.indexOf('\n', state.pos + 2) - 1;
+
+  if (state.nextPos === -2) {
+    state.nextPos = state.css.length - 1;
+  }
+
+  state.tokens.push(['comment', state.css.slice(state.pos, state.nextPos + 1), state.line, state.pos - state.offset, state.line, state.nextPos - state.offset, 'inline']);
+
+  state.pos = state.nextPos;
+}
+module.exports = exports['default'];
\ No newline at end of file