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

Function types

beautify/script.ts:1734–1746  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1732 }
1733 },
1734 types = function beautify_script_level_types():void {
1735 if (data.token[a - 1] === "," || (data.token[a - 1] === ":" && data.stack[a - 1] !== "data_type")) {
1736 level[a - 1] = -10;
1737 } else {
1738 level[a - 1] = -20;
1739 }
1740 if (data.types[a] === "type" || data.types[a] === "type_end") {
1741 level.push(-10);
1742 }
1743 if (data.types[a] === "type_start") {
1744 level.push(-20);
1745 }
1746 },
1747 word = function beautify_script_level_word():void {
1748 if ((ltoke === ")" || ltoke === "x)") && data.stack[a] === "class" && (data.token[data.begin[a - 1] - 1] === "static" || data.token[data.begin[a - 1] - 1] === "final" || data.token[data.begin[a - 1] - 1] === "void")) {
1749 level[a - 1] = -10;

Callers 1

scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected