MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / attributes

Function attributes

static/js/codemirror/mode/xml/xml.js:252–257  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

250 }
251
252 function attributes(type) {
253 if (type == "word") {setStyle = "attribute"; return cont(attribute, attributes);}
254 if (type == "endTag" || type == "selfcloseTag") return pass();
255 setStyle = "error";
256 return cont(attributes);
257 }
258 function attribute(type) {
259 if (type == "equals") return cont(attvalue, attributes);
260 if (!Kludges.allowMissing) setStyle = "error";

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected