UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

10 lines (8 loc) 435 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const getNextMatchingPos_1 = require("./getNextMatchingPos"); function getNextNonWhitespacePos(text, pos) { return getNextMatchingPos_1.getNextMatchingPos(text, pos, char => char !== " " && char !== "\t" && char !== "\r" && char !== "\n"); } exports.getNextNonWhitespacePos = getNextNonWhitespacePos; //# sourceMappingURL=getNextNonWhitespacePos.js.map