Package org.teavm.jso.impl
Class TeaVMErrorReporter
java.lang.Object
org.teavm.jso.impl.TeaVMErrorReporter
- All Implemented Interfaces:
org.mozilla.javascript.ErrorReporter
-
Constructor Summary
ConstructorsConstructorDescriptionTeaVMErrorReporter(org.teavm.diagnostics.Diagnostics diagnostics, org.teavm.model.CallLocation location) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanorg.mozilla.javascript.EvaluatorExceptionruntimeError(String message, String sourceName, int line, String lineSource, int lineOffset) void
-
Constructor Details
-
TeaVMErrorReporter
public TeaVMErrorReporter(org.teavm.diagnostics.Diagnostics diagnostics, org.teavm.model.CallLocation location)
-
-
Method Details
-
hasErrors
public boolean hasErrors() -
warning
- Specified by:
warningin interfaceorg.mozilla.javascript.ErrorReporter
-
error
- Specified by:
errorin interfaceorg.mozilla.javascript.ErrorReporter
-
runtimeError
public org.mozilla.javascript.EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset) - Specified by:
runtimeErrorin interfaceorg.mozilla.javascript.ErrorReporter
-