public class JSFunction extends Object
.data()
function.Modifier and Type | Class and Description |
---|---|
static class |
JSFunction.Builder
Allow construction of an immutable
JSFunction from outside of this package. |
Modifier and Type | Method and Description |
---|---|
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> |
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() |
public List<String> getClosure()
public List<String> getGlobal()
public int getLast()
public int getLine()
public String getName()
public List<String> getOuter()
public List<String> getUnused()
public List<String> getVars()
Copyright © 2007-2013. All Rights Reserved.