(script)
| 511 | } |
| 512 | |
| 513 | addAllFunktions(script) { |
| 514 | // funktions is indexed by byte offset and as such not packed. Add every |
| 515 | // Funktion one by one to keep this.funktions packed. |
| 516 | script.funktions.forEach(fn => this.funktions.push(fn)); |
| 517 | this.scripts.push(script); |
| 518 | this.bytesTotal += script.bytesTotal; |
| 519 | } |
| 520 | |
| 521 | // Iterate over all Scripts and nested Funktions. |
| 522 | forEach(fn) { |
no test coverage detected