mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 03:17:30 -04:00
1 line
700 B
JavaScript
1 line
700 B
JavaScript
"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"]; |