UNPKG

553 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.skipSpaces = void 0;
4var is_space_1 = require("./is-space");
5/**
6 * Points the parser to the next character in the
7 * path string every time it encounters any kind of
8 * space character.
9 */
10function skipSpaces(path) {
11 var pathValue = path.pathValue, max = path.max;
12 while (path.index < max && (0, is_space_1.isSpace)(pathValue.charCodeAt(path.index))) {
13 path.index += 1;
14 }
15}
16exports.skipSpaces = skipSpaces;
17//# sourceMappingURL=skip-spaces.js.map
\No newline at end of file