1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.skipSpaces = void 0;
|
4 | var 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 | */
|
10 | function 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 | }
|
16 | exports.skipSpaces = skipSpaces;
|
17 | //# sourceMappingURL=skip-spaces.js.map |
\ | No newline at end of file |