.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / experimental-utils / dist / ast-utils / misc.js
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.LINEBREAK_MATCHER = exports.isTokenOnSameLine = void 0;
4 const LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/;
5 exports.LINEBREAK_MATCHER = LINEBREAK_MATCHER;
6 /**
7  * Determines whether two adjacent tokens are on the same line
8  */
9 function isTokenOnSameLine(left, right) {
10     return left.loc.end.line === right.loc.start.line;
11 }
12 exports.isTokenOnSameLine = isTokenOnSameLine;
13 //# sourceMappingURL=misc.js.map