Package org.mozilla.javascript
Interface RegExpProxy
-
- All Known Implementing Classes:
RegExpImpl
public interface RegExpProxyA proxy for the regexp package, so that the regexp package can be loaded optionally.
-
-
Field Summary
Fields Modifier and Type Field Description static intRA_MATCHstatic intRA_REPLACEstatic intRA_SEARCH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectaction(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType)ObjectcompileRegExp(Context cx, String source, String flags)intfind_split(Context cx, Scriptable scope, String target, String separator, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)booleanisRegExp(Scriptable obj)Objectjs_split(Context _cx, Scriptable _scope, String thisString, Object[] _args)ScriptablewrapRegExp(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)
-
-