|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScriptReference
Describes a JavaScript script object.
A script object has Location information for all of the lines and FunctionReferences contained within it.
FunctionReference,
Location,
Mirror| Method Summary | |
|---|---|
List |
allFunctionLocations()
Returns the complete live list of function locations in this script. |
List |
allLineLocations()
Returns the complete live list of line locations in this script. |
Location |
functionLocation(String functionName)
Returns the Location information for a function with the given name in this script. |
Location |
lineLocation(int lineNumber)
Returns the Location information for the given line number in this script. |
String |
source()
Returns the entire known source for this script at the time this method is called. |
URI |
sourceURI()
Returns the URI to the source of this script. |
| Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.Mirror |
|---|
virtualMachine |
| Method Detail |
|---|
List allLineLocations()
null.
nullLocation,
lineLocation(int)Location lineLocation(int lineNumber)
Location information for the given line number in this script.null.
lineNumber -
Location information for the given line number or null.Location,
allLineLocations()List allFunctionLocations()
null.
Location,
functionLocation(String)Location functionLocation(String functionName)
Location information for a function with the given name in this script.null.
functionName -
Location information for a function with the given nameLocation,
allFunctionLocations()String source()
null.
URI sourceURI()
URI to the source of this script.null.
URI to the source of this script
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||