mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
I added DebuggableScript to javadoc list and fixed javadoc warnings about its documentation comments.
This commit is contained in:
parent
14d93f1038
commit
ae04809e92
@ -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
|
||||
|
@ -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 < {@link #getParamCount()}</tt>, return the name of
|
||||
* the corresponding parameter, otherwise return the name of variable.
|
||||
* If <tt>index < {@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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user