JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.debug.core.model
Interface IJavaScriptStackFrame


public interface IJavaScriptStackFrame

Since:
1.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 IJavaScriptValue evaluate(String expression)
          Allows the given expression to be evaluated and returns the Value of the evaluation.
 String getSource()
          Returns the underlying source for the frame.
 String getSourceName()
          Returns the name of the source backing the stack frame.
 String getSourcePath()
          Returns the path to the source.
 

Method Detail

evaluate

IJavaScriptValue evaluate(String expression)
Allows the given expression to be evaluated and returns the Value of the evaluation.

This method cannot return null and will return a value with NullValue instead.

Parameters:
expression - the expression to evaluate, null is accepted and will cause a value backed by NullValue to be returned
Returns:
the IJavaScriptValue from the evaluation never null

getSourceName

String getSourceName()
Returns the name of the source backing the stack frame.

This method can return null

Returns:
the name of the source or null

getSourcePath

String getSourcePath()
Returns the path to the source.

This method can return null

Returns:
the path to the source or null

getSource

String getSource()
Returns the underlying source for the frame.

This method can return null if the source cannot be acquired

Returns:
the underlying source or null

JavaScript Development Tools
Release 3.2

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