|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jslint4java.JSFunction
public class JSFunction
A JavaScript function definition. This is taken from JSLint's .data()
function.
| Nested Class Summary | |
|---|---|
static class |
JSFunction.Builder
Allow construction of an immutable JSFunction from outside of this package. |
| Method Summary | |
|---|---|
List<String> |
getClosure()
The variables and parameters that are declared in the function that are used by its inner functions. |
List<String> |
getException()
The variables that are declared by try statements. |
List<String> |
getGlobal()
Global variables that are used by this function. |
List<String> |
getLabel()
Statement labels that are used by this function. |
int |
getLast()
|
int |
getLine()
The line the function is defined on. |
String |
getName()
The name of the function. |
List<String> |
getOuter()
Variables used by this function that are declared in another function. |
List<String> |
getParams()
The parameters of the function. |
List<String> |
getUndef()
|
List<String> |
getUnused()
The variables that are declared in the function that are not used. |
List<String> |
getVars()
The variables that are declared in the function that are used only by the function. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public List<String> getClosure()
public List<String> getException()
public List<String> getGlobal()
public List<String> getLabel()
public int getLast()
public int getLine()
public String getName()
public List<String> getOuter()
public List<String> getParams()
public List<String> getUnused()
public List<String> getUndef()
public List<String> getVars()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||