public interface Location
ScriptReference
.Location
can be a line number and / or a function name.ScriptReference
Modifier and Type | Method and Description |
---|---|
java.lang.String |
functionName()
Returns the name of the function this location resides in, if any
|
int |
lineNumber()
Returns the line number of this location within its underlying
ScriptReference |
ScriptReference |
scriptReference()
Returns the underlying
ScriptReference for this Location or null if there was an exception creating the location. |
ScriptReference scriptReference()
ScriptReference
for this Location
or null
if there was an exception creating the location.ScriptReference
or null
.int lineNumber()
ScriptReference
ScriptReference
java.lang.String functionName()
null
if this location is not enclosed by a functionCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.