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

Method skipTo

lib/web/CodeMirror/src/util/StringStream.js:43–46  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

41 }
42 skipToEnd() {this.pos = this.string.length}
43 skipTo(ch) {
44 let found = this.string.indexOf(ch, this.pos)
45 if (found > -1) {this.pos = found; return true}
46 }
47 backUp(n) {this.pos -= n}
48 column() {
49 if (this.lastColumnPos < this.start) {

Callers 15

properties.jsFile · 0.45
tokenBaseFunction · 0.45
htmlembedded.jsFile · 0.45
commentFunction · 0.45
baseFunction · 0.45
chompSingleStringFunction · 0.45
chompCharFunction · 0.45
basicTokenFunction · 0.45
tokenizeFunction · 0.45
toml.jsFile · 0.45
haxe.jsFile · 0.45
tokenBaseFunction · 0.45

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected