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

Function inAttribute

mini-code-edit/cm/mode/xml/xml.js:122–132  ·  view source on GitHub ↗
(quote)

Source from the content-addressed store, hash-verified

120 }
121
122 function inAttribute(quote) {
123 return function(stream, state) {
124 while (!stream.eol()) {
125 if (stream.next() == quote) {
126 state.tokenize = inTag;
127 break;
128 }
129 }
130 return "string";
131 };
132 }
133
134 function inBlock(style, terminator) {
135 return function(stream, state) {

Callers 1

inTagFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected