MCPcopy
hub / github.com/formatjs/formatjs / bumpSpace

Method bumpSpace

packages/icu-messageformat-parser/parser.ts:1244–1248  ·  view source on GitHub ↗

advance the parser through all whitespace to the next non-whitespace code unit.

()

Source from the content-addressed store, hash-verified

1242
1243 /** advance the parser through all whitespace to the next non-whitespace code unit. */
1244 private bumpSpace() {
1245 while (!this.isEOF() && _isWhiteSpace(this.char())) {
1246 this.bump()
1247 }
1248 }
1249
1250 /**
1251 * Peek at the *next* Unicode codepoint in the input without advancing the parser.

Callers 4

parseTagMethod · 0.95
parseArgumentMethod · 0.95
parseArgumentOptionsMethod · 0.95

Calls 4

isEOFMethod · 0.95
charMethod · 0.95
bumpMethod · 0.95
_isWhiteSpaceFunction · 0.85

Tested by

no test coverage detected