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

Function markup

beautify/script.ts:744–756  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

742 } while (bb > 0 && bb > cc);
743 },
744 markup = function beautify_script_level_markup():void {
745 if ((data.token[a + 1] !== "," && ctoke.indexOf("/>") !== ctoke.length - 2) || (data.token[a + 1] === "," && data.token[data.begin[a] - 3] !== "React")) {
746 destructfix(false, false);
747 }
748 if (ltoke === "return" || ltoke === "?" || ltoke === ":") {
749 level[a - 1] = -10;
750 level.push(-20);
751 } else if (ltype === "start" || (data.token[a - 2] === "return" && data.stack[a - 1] === "method")) {
752 level.push(indent);
753 } else {
754 level.push(-20);
755 }
756 },
757 operator = function beautify_script_level_operator():void {
758 const ei:number[] = (extraindent[extraindent.length - 1] === undefined)
759 ? []

Callers 1

scriptFunction · 0.70

Calls 1

destructfixFunction · 0.85

Tested by

no test coverage detected