MCPcopy Create free account
hub / github.com/gogs/gogs / readBracket

Function readBracket

public/plugins/codemirror-5.17.0/mode/lua/lua.js:70–75  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

68 var dedentPartial = prefixRE(["end", "until", "\\)", "}", "else", "elseif"]);
69
70 function readBracket(stream) {
71 var level = 0;
72 while (stream.eat("=")) ++level;
73 stream.eat("[");
74 return level;
75 }
76
77 function normal(stream, state) {
78 var ch = stream.next();

Callers 1

normalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected