MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / attributes

Function attributes

mini-code-edit/cm/mode/xml/xml.js:249–254  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected