* removes all warnings and errors * @returns {void}
()
| 815 | * @returns {void} |
| 816 | */ |
| 817 | clearWarningsAndErrors() { |
| 818 | if (this._warnings !== undefined) { |
| 819 | this._warnings.length = 0; |
| 820 | } |
| 821 | if (this._errors !== undefined) { |
| 822 | this._errors.length = 0; |
| 823 | } |
| 824 | } |
| 825 | |
| 826 | /** |
| 827 | * Checks whether this module is optional. |