org.mozilla.javascript.optimizer
Class OptFunctionNode
java.lang.Object
org.mozilla.javascript.optimizer.OptFunctionNode
public final class OptFunctionNode
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fnode
public final FunctionNode fnode
get
public static OptFunctionNode get(ScriptNode scriptOrFn,
int i)
get
public static OptFunctionNode get(ScriptNode scriptOrFn)
isTargetOfDirectCall
public boolean isTargetOfDirectCall()
getDirectTargetIndex
public int getDirectTargetIndex()
getParameterNumberContext
public boolean getParameterNumberContext()
getVarCount
public int getVarCount()
isParameter
public boolean isParameter(int varIndex)
isNumberVar
public boolean isNumberVar(int varIndex)
getVarIndex
public int getVarIndex(Node n)