I added DebuggableScript to javadoc list and fixed javadoc warnings about its documentation comments.

This commit is contained in:
igor%mir2.org 2004-11-24 10:38:40 +00:00
parent 14d93f1038
commit ae04809e92
2 changed files with 8 additions and 4 deletions

View File

@ -25,5 +25,6 @@ apiClasses=\
src/org/mozilla/javascript/Wrapper.java,\
src/org/mozilla/javascript/Synchronizer.java,\
src/org/mozilla/javascript/optimizer/ClassCompiler.java,\
src/org/mozilla/javascript/debug/DebuggableScript.java,\
src/org/mozilla/javascript/serialize/ScriptableInputStream.java,\
src/org/mozilla/javascript/serialize/ScriptableOutputStream.java

View File

@ -20,6 +20,7 @@
*
* Contributor(s):
* Norris Boyd
* Igor Bukanov
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
@ -82,8 +83,9 @@ public interface DebuggableScript
/**
* Get name of a declared parameter or local variable.
* <tt>index</tt> should be less then {@link #getParamAndVarCount()}.
* If <tt>index &lt; {@link #getParamCount()}</tt>, return the name of
* the corresponding parameter, otherwise return the name of variable.
* If <tt>index&nbsp;&lt;&nbsp;{@link #getParamCount()}</tt>, return
* the name of the corresponding parameter, otherwise return the name
* of variable.
* If this script is not function, return the name of the declared
* global variable.
*/
@ -96,8 +98,9 @@ public interface DebuggableScript
public String getSourceName();
/**
* Retutns true for functions constructed via <tt>Function(...)</tt>
* or eval scripts or any function defined by such functions or scripts
* Returns true if this script or function were runtime-generated
* from JavaScript using <tt>eval</tt> function or <tt>Function</tt>
* or <tt>Script</tt> constructors.
*/
public boolean isGeneratedScript();