public class DefaultLineNumberConverter extends java.lang.Object implements LineNumberConverter
| Constructor and Description |
|---|
DefaultLineNumberConverter(ScriptWrapper<?> wrapper) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLineNumber(ScriptSource source,
int lineNumber,
boolean isException)
Return the effective line number of a line detected in the script runtime.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLineNumber, getLineNumberpublic DefaultLineNumberConverter(ScriptWrapper<?> wrapper)
public int getLineNumber(ScriptSource source, int lineNumber, boolean isException)
getLineNumber in interface LineNumberConverterlineNumber - the line numberisException - true for getting the line number for an exceptionsource - the script sourceCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence