JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.debug.core.jsdi
Interface FunctionReference

All Superinterfaces:
Mirror, ObjectReference, Value

public interface FunctionReference
extends ObjectReference

Abstract representation of a function object with-respect-to Javascript debugging.

Since:
1.0
See Also:
ObjectReference
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 String functionBody()
          Returns the source code for the body of the function.
 String functionName()
          Returns the name of the function as it has been defined at the creation time of this value.
 
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.ObjectReference
className, constructor, id, properties, prototype
 
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.Value
valueString
 
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.Mirror
virtualMachine
 

Method Detail

functionName

String functionName()
Returns the name of the function as it has been defined at the creation time of this value.

Returns:
the name of the function

functionBody

String functionBody()
Returns the source code for the body of the function.

This method can return null

Returns:
the source code for the function body

JavaScript Development Tools
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.