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

Method peek

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

Source from the content-addressed store, hash-verified

18 eol() {return this.pos >= this.string.length}
19 sol() {return this.pos == this.lineStart}
20 peek() {return this.string.charAt(this.pos) || undefined}
21 next() {
22 if (this.pos < this.string.length)
23 return this.string.charAt(this.pos++)

Callers 15

unescapeRegexReplaceFunction · 0.95
jshint.jsFile · 0.45
beginParamsFunction · 0.45
inVariableFunction · 0.45
inTagFunction · 0.45
dart.jsFile · 0.45
tokenStringHelperFunction · 0.45
blockNormalFunction · 0.45
inlineNormalFunction · 0.45
footnoteUrlFunction · 0.45
tokenBaseFunction · 0.45
twTokenMacroFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected