MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / markupList

Function markupList

beautify/script.ts:224–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222 ? []
223 : extraindent[extraindent.length - 1],
224 markupList = function beautify_script_level_end_markupList():void {
225 let aa:number = a,
226 markup:boolean = false;
227 const begin:number = data.begin[aa];
228 do {
229 aa = aa - 1;
230 if (data.lexer[aa] === "markup") {
231 markup = true;
232 break;
233 }
234 if (data.begin[aa] !== begin) {
235 aa = data.begin[aa];
236 }
237 } while (aa > begin);
238 if (markup === true) {
239 aa = a;
240 do {
241 aa = aa - 1;
242 if (data.begin[aa] !== begin) {
243 aa = data.begin[aa];
244 } else if (data.token[aa] === ",") {
245 level[aa] = indent + 1;
246 }
247 } while (aa > begin);
248 level[begin] = indent + 1;
249 level[a - 1] = indent;
250 } else {
251 level[a - 1] = -20;
252 }
253 };
254 if (ctoke === ")" && data.token[a + 1] === "." && ei[ei.length - 1] > -1 && data.token[ei[0]] !== ":") {
255 let c:number = data.begin[a],
256 d:boolean = false,

Callers 1

endFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected