warning

abstract fun warning(message: String, sourceName: String?, line: Int, lineSource: String?, lineOffset: Int)

Report a warning. The implementing class may choose to ignore the warning.

Parameters

message

a String describing the warning

sourceName

the JavaScript source where the warning occurred, typically a filename or URL

line

the line number associated with the warning

lineSource

the text of the line (may be null)

lineOffset

the offset into lineSource where the problem was detected