You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
403 B
13 lines
403 B
import { isSpace } from './is-space';
|
|
/**
|
|
* Points the parser to the next character in the
|
|
* path string every time it encounters any kind of
|
|
* space character.
|
|
*/
|
|
export function skipSpaces(path) {
|
|
var pathValue = path.pathValue, max = path.max;
|
|
while (path.index < max && isSpace(pathValue.charCodeAt(path.index))) {
|
|
path.index += 1;
|
|
}
|
|
}
|
|
//# sourceMappingURL=skip-spaces.js.map
|