|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ErrorReporter
This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.
| Method Summary | |
|---|---|
void |
error(java.lang.String message,
CodePosition startPosition,
CodePosition endPosition)
Report an error. |
void |
warning(java.lang.String message,
CodePosition startPosition,
CodePosition endPosition)
Report a warning. |
| Method Detail |
|---|
void warning(@NotNull
java.lang.String message,
@NotNull
CodePosition startPosition,
@NotNull
CodePosition endPosition)
message - a String describing the errorstartPosition - position before error tokenendPosition - position after error token
void error(@NotNull
java.lang.String message,
@NotNull
CodePosition startPosition,
@NotNull
CodePosition endPosition)
message - a String describing the errorstartPosition - position before error tokenendPosition - position after error token
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||