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

Function readSym

static/editor.md/lib/codemirror/mode/commonlisp/commonlisp.js:21–28  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

19 var type;
20
21 function readSym(stream) {
22 var ch;
23 while (ch = stream.next()) {
24 if (ch == "\\") stream.next();
25 else if (!symbol.test(ch)) { stream.backUp(1); break; }
26 }
27 return stream.current();
28 }
29
30 function base(stream, state) {
31 if (stream.eatSpace()) {type = "ws"; return null;}

Callers 1

baseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected