org.mozilla.javascript.regexp
Class NativeRegExp
- Callable, DebuggableObject, Function, IdFunctionCall, Scriptable, Serializable
public class NativeRegExp
This class implements the RegExp native object.
Revision History:
Implementation in C by Brendan Eich
Initial port to Java by Norris Boyd from jsregexp.c version 1.36
Merged up to version 1.38, which included Unicode support.
Merged bug fixes in version 1.39.
Merged JSFUN13_BRANCH changes up to 1.32.2.13
Object | call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) - Perform the call.
|
Scriptable | construct(Context cx, Scriptable scope, Object[] args)
|
Object | execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
|
protected int | findInstanceIdInfo(String s)
|
protected int | findPrototypeId(String s)
|
String | getClassName()
|
protected String | getInstanceIdName(int id)
|
protected Object | getInstanceIdValue(int id)
|
protected int | getMaxInstanceId()
|
static void | init(Context cx, Scriptable scope, boolean sealed)
|
protected void | initPrototypeId(int id)
|
protected void | setInstanceIdValue(int id, Object value)
|
String | toString()
|
activatePrototypeMap , addIdFunctionProperty , defaultGet , defaultPut , delete , execIdCall , exportAsJSClass , fillConstructorProperties , findInstanceIdInfo , findPrototypeId , get , getAttributes , getInstanceIdName , getInstanceIdValue , getMaxInstanceId , has , hasPrototypeMap , incompatibleCallError , initPrototypeConstructor , initPrototypeId , initPrototypeMethod , initPrototypeValue , instanceIdInfo , put , setAttributes , setInstanceIdValue |
associateValue , callMethod , callMethod , defineClass , defineClass , defineClass , defineFunctionProperties , defineProperty , defineProperty , defineProperty , defineProperty , delete , delete , deleteProperty , deleteProperty , equivalentValues , get , get , getAllIds , getAssociatedValue , getAttributes , getAttributes , getAttributes , getAttributes , getClassName , getClassPrototype , getDefaultValue , getFunctionPrototype , getIds , getObjectPrototype , getParentScope , getProperty , getProperty , getPropertyIds , getPrototype , getTopLevelScope , getTopScopeValue , has , has , hasInstance , hasProperty , hasProperty , isSealed , put , put , putProperty , putProperty , sealObject , setAttributes , setAttributes , setAttributes , setAttributes , setParentScope , setPrototype |
JSREG_FOLD
public static final int JSREG_FOLD
JSREG_GLOB
public static final int JSREG_GLOB
JSREG_MULTILINE
public static final int JSREG_MULTILINE
MATCH
public static final int MATCH
PREFIX
public static final int PREFIX
TEST
public static final int TEST
call
public Object call(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Perform the call.
- call in interface Function
- call in interface Callable
cx
- the current Context for this threadscope
- the scope to use to resolve properties.thisObj
- the JavaScript this
objectargs
- the array of arguments
toString
public String toString()