Package org.mozilla.javascript
Interface RegExpProxy
-
- All Known Implementing Classes:
RegExpImpl
public interface RegExpProxy
A proxy for the regexp package, so that the regexp package can be loaded optionally.
-
-
Field Summary
Fields Modifier and Type Field Description static int
RA_MATCH
static int
RA_REPLACE
static int
RA_SEARCH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType)
Object
compileRegExp(Context cx, String source, String flags)
int
find_split(Context cx, Scriptable scope, String target, String separator, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)
boolean
isRegExp(Scriptable obj)
Object
js_split(Context _cx, Scriptable _scope, String thisString, Object[] _args)
Scriptable
wrapRegExp(Context cx, Scriptable scope, Object compiled)
-
-
-
Field Detail
-
RA_MATCH
static final int RA_MATCH
- See Also:
- Constant Field Values
-
RA_REPLACE
static final int RA_REPLACE
- See Also:
- Constant Field Values
-
RA_SEARCH
static final int RA_SEARCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
isRegExp
boolean isRegExp(Scriptable obj)
-
wrapRegExp
Scriptable wrapRegExp(Context cx, Scriptable scope, Object compiled)
-
action
Object action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType)
-
find_split
int find_split(Context cx, Scriptable scope, String target, String separator, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)
-
js_split
Object js_split(Context _cx, Scriptable _scope, String thisString, Object[] _args)
-
-