MCPcopy Create free account
hub / github.com/TruthHun/BookStack / look

Function look

static/editor.md/lib/codemirror/mode/perl/perl.js:804–806  ·  view source on GitHub ↗
(stream, c)

Source from the content-addressed store, hash-verified

802
803// it's like "peek", but need for look-ahead or look-behind if index < 0
804function look(stream, c){
805 return stream.string.charAt(stream.pos+(c||0));
806}
807
808// return a part of prefix of current stream from current position
809function prefix(stream, c){

Callers 1

tokenPerlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected