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

Function when

static/editor.md/lib/codemirror/mode/jade/jade.js:186–192  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

184 }
185
186 function when(stream, state) {
187 if (stream.match(/^when\b/)) {
188 state.javaScriptLine = true;
189 state.javaScriptLineExcludesColon = true;
190 return KEYWORD;
191 }
192 }
193
194 function defaultStatement(stream) {
195 if (stream.match(/^default\b/)) {

Callers 1

nextTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected