Interface ErrorManager

    • Method Detail

      • report

        void report​(CheckLevel level,
                    JSError error)
        Reports an error. The errors will be displayed by the generateReport() at the discretion of the implementation.
        Specified by:
        report in interface ErrorHandler
        Parameters:
        level - the reporting level
        error - the error to report
      • getErrorCount

        int getErrorCount()
        Gets the number of reported errors.
      • getWarningCount

        int getWarningCount()
        Gets the number of reported warnings.
      • getErrors

        JSError[] getErrors()
        Gets all the errors.
      • getWarnings

        JSError[] getWarnings()
        Gets all the warnings.
      • setTypedPercent

        void setTypedPercent​(double typedPercent)
        Sets the percentage of typed expressions.
      • getTypedPercent

        double getTypedPercent()
        Gets the percentage of typed expressions.