| 668 | assignlist.pop(); |
| 669 | }, |
| 670 | endExtraInd = function beautify_script_level_endExtraInd():void { |
| 671 | const ei:number[] = extraindent[extraindent.length - 1]; |
| 672 | let c:number = 0; |
| 673 | if (ei === undefined) { |
| 674 | return; |
| 675 | } |
| 676 | c = ei.length - 1; |
| 677 | if (c < 1 && ei[c] < 0 && (ctoke === ";" || ctoke === "x;" || ctoke === ")" || ctoke === "x)" || ctoke === "}" || ctoke === "x}")) { |
| 678 | ei.pop(); |
| 679 | return; |
| 680 | } |
| 681 | if (c < 0 || ei[c] < 0) { |
| 682 | return; |
| 683 | } |
| 684 | if (ctoke === ":") { |
| 685 | if (data.token[ei[c]] !== "?") { |
| 686 | do { |
| 687 | ei.pop(); |
| 688 | c = c - 1; |
| 689 | indent = indent - 1; |
| 690 | } while (c > -1 && ei[c] > -1 && data.token[ei[c]] !== "?"); |
| 691 | } |
| 692 | ei[c] = a; |
| 693 | level[a - 1] = indent; |
| 694 | } else { |
| 695 | do { |
| 696 | ei.pop(); |
| 697 | c = c - 1; |
| 698 | indent = indent - 1; |
| 699 | } while (c > -1 && ei[c] > -1); |
| 700 | } |
| 701 | if ((data.stack[a] === "array" || ctoke === ",") && ei.length < 1) { |
| 702 | ei.push(-1); |
| 703 | } |
| 704 | }, |
| 705 | external = function beautify_script_level_external():void { |
| 706 | let skip = a; |
| 707 | do { |