| |
|
| java.lang.Object org.mozilla.javascript.Node org.mozilla.javascript.ScriptOrFnNode org.mozilla.javascript.FunctionNode
FUNCTION_EXPRESSION | final public static int FUNCTION_EXPRESSION(Code) | | |
FUNCTION_EXPRESSION_STATEMENT | final public static int FUNCTION_EXPRESSION_STATEMENT(Code) | | |
FUNCTION_STATEMENT | final public static int FUNCTION_STATEMENT(Code) | | There are three types of functions that can be defined. The first
is a function statement. This is a function appearing as a top-level
statement (i.e., not nested inside some other statement) in either a
script or a function.
The second is a function expression, which is a function appearing in
an expression except for the third type, which is...
The third type is a function expression where the expression is the
top-level expression in an expression statement.
The three types of functions have different treatment and must be
distinguished.
|
itsFunctionType | int itsFunctionType(Code) | | |
itsIgnoreDynamicScope | boolean itsIgnoreDynamicScope(Code) | | |
itsIsGenerator | boolean itsIsGenerator(Code) | | |
itsNeedsActivation | boolean itsNeedsActivation(Code) | | |
addLiveLocals | public void addLiveLocals(Node node, int[] locals)(Code) | | |
addResumptionPoint | public void addResumptionPoint(Node target)(Code) | | |
getFunctionType | public int getFunctionType()(Code) | | |
getIgnoreDynamicScope | public boolean getIgnoreDynamicScope()(Code) | | |
isGenerator | public boolean isGenerator()(Code) | | |
requiresActivation | public boolean requiresActivation()(Code) | | |
|
|
|