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

Function call

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

Source from the content-addressed store, hash-verified

254 }
255
256 function call(stream, state) {
257 if (stream.match(/^\+([-\w]+)/)) {
258 if (!stream.match(/^\( *[-\w]+ *=/, false)) {
259 state.javaScriptArguments = true;
260 state.javaScriptArgumentsDepth = 0;
261 }
262 return 'variable';
263 }
264 if (stream.match(/^\+#{/, false)) {
265 stream.next();
266 state.mixinCallAfter = true;
267 return interpolation(stream, state);
268 }
269 }
270 function callArguments(stream, state) {
271 if (state.mixinCallAfter) {
272 state.mixinCallAfter = false;

Callers 1

nextTokenFunction · 0.85

Calls 1

interpolationFunction · 0.85

Tested by

no test coverage detected