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

Function stringEater

static/editor.md/lib/codemirror/mode/apl/apl.js:83–93  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

81 var isComment = /[⍝#].*$/;
82
83 var stringEater = function(type) {
84 var prev;
85 prev = false;
86 return function(c) {
87 prev = c;
88 if (c === type) {
89 return prev === "\\";
90 }
91 return true;
92 };
93 };
94 return {
95 startState: function() {
96 return {

Callers 1

apl.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected