net.sourceforge.htmlunit.corejs.javascript.tools.debugger
Interface SourceProvider
public interface SourceProvider
Interface to provide a source of scripts to the debugger.
- Version:
- $Id: SourceProvider.java,v 1.1 2009/10/23 12:49:58
szegedia%freemail.hu Exp $
getSource
java.lang.String getSource(DebuggableScript script)
- Returns the source of the script.
- Parameters:
script - the script object
- Returns:
- the source code of the script, or null if it can not be provided
(the provider is not expected to decompile the script, so if it
doesn't have a readily available source text, it is free to
return null).