MCPcopy Create free account
hub / github.com/existentialmutt/lt-ruby / readHereDoc

Function readHereDoc

codemirror/ruby.js:180–186  ·  view source on GitHub ↗
(phrase)

Source from the content-addressed store, hash-verified

178 };
179 }
180 function readHereDoc(phrase) {
181 return function(stream, state) {
182 if (stream.match(phrase)) state.tokenize.pop();
183 else stream.skipToEnd();
184 return "string";
185 };
186 }
187 function readBlockComment(stream, state) {
188 if (stream.sol() && stream.match("=end") && stream.eol())
189 state.tokenize.pop();

Callers 1

tokenBaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected