1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-05 15:17:27 -05:00
notes/node_modules/postcss-less/dist/tokenizer/tokenize-backslash.min.js

1 line
700 B
JavaScript
Raw Normal View History

2017-03-09 13:16:08 -05:00
"use strict";function tokenizeBackslash(e){for(e.nextPos=e.pos,e.escape=!0;e.css.charCodeAt(e.nextPos+1)===_globals.backslash;)e.nextPos+=1,e.escape=!e.escape;e.symbolCode=e.css.charCodeAt(e.nextPos+1),e.escape&&e.symbolCode!==_globals.slash&&e.symbolCode!==_globals.space&&e.symbolCode!==_globals.newline&&e.symbolCode!==_globals.tab&&e.symbolCode!==_globals.carriageReturn&&e.symbolCode!==_globals.feed&&(e.nextPos+=1),e.tokens.push(["word",e.css.slice(e.pos,e.nextPos+1),e.line,e.pos-e.offset,e.line,e.nextPos-e.offset]),e.pos=e.nextPos}Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=tokenizeBackslash;var _globals=require("./globals");module.exports=exports["default"];