MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / eatSpace

Method eatSpace

lib/web/CodeMirror/src/util/StringStream.js:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 return this.pos > start
36 }
37 eatSpace() {
38 let start = this.pos
39 while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos
40 return this.pos > start
41 }
42 skipToEnd() {this.pos = this.string.length}
43 skipTo(ch) {
44 let found = this.string.indexOf(ch, this.pos)

Callers 15

parseArgsFunction · 0.95
VimFunction · 0.95
inMathModeFunction · 0.80
inVariableFunction · 0.80
inTagFunction · 0.80
blockNormalFunction · 0.80
linkHrefFunction · 0.80
footnoteUrlFunction · 0.80
tiddlywiki.jsFile · 0.80
tokenPerlFunction · 0.80
gherkin.jsFile · 0.80
tokenBaseFunction · 0.80

Calls 1

testMethod · 0.45

Tested by

no test coverage detected