warning

abstract fun warning(message: String, sourceName: String?, offset: Int, length: Int)

Report a warning.

Parameters

message

a String describing the warning

sourceName

the JavaScript source, typically a filename or URL

offset

the warning's 0-indexed char position in the input stream

length

the length of the region contributing to the warning