|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Location
Abstract representation of a given location in a ScriptReference.
A Location can be a line number and / or a function name.
ScriptReference| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
ScriptReference scriptReference()
ScriptReference for this Location or null if there was an exception creating the location.
ScriptReference or null.int lineNumber()
ScriptReference
ScriptReferencejava.lang.String functionName()
null if this location is not enclosed by a function
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||