org.mozilla.javascript
public abstract class NativeFunction extends BaseFunction
Method Summary | |
---|---|
int | getArity() |
DebuggableScript | getDebuggableView() |
String | getEncodedSource()
Get encoded source string. |
protected abstract int | getLanguageVersion() |
int | getLength() |
protected abstract int | getParamAndVarCount()
Get number of declared parameters and variables defined through var
statements. |
protected abstract int | getParamCount()
Get number of declared parameters. |
protected abstract String | getParamOrVarName(int index)
Get parameter or variable name.
|
void | initScriptFunction(Context cx, Scriptable scope) |
String | jsGet_name() |
Deprecated: Use getFunctionName instead. For backwards compatibility keep an old method name used by Batik and possibly others.