public interface LineNumberConverter
| Modifier and Type | Method and Description |
|---|---|
default int |
getLineNumber(int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
default int |
getLineNumber(ScriptSource source,
int lineNumber)
Return the effective line number of a line detected in the script runtime.
|
int |
getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
default int getLineNumber(int lineNumber)
lineNumber - the line numberdefault int getLineNumber(ScriptSource source, int lineNumber)
source - the script sourcelineNumber - the line numberint getLineNumber(ScriptSource source, int lineNumber, boolean isException)
source - the script sourcelineNumber - the line numberisException - true for getting the line number for an exceptionCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence