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

Function lookahead

static/editor.md/lib/codemirror/mode/erlang/erlang.js:345–348  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

343 }
344
345 function lookahead(stream) {
346 var m = stream.match(/([\n\s]+|%[^\n]*\n)*(.)/,false);
347 return m ? m.pop() : "";
348 }
349
350 function is_member(element,list) {
351 return (-1 < list.indexOf(element));

Callers 1

tokenizerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected