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.
- Author:
- Norris Boyd
Method Summary |
java.lang.Object |
action(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
int actionType)
|
java.lang.Object |
compileRegExp(Context cx,
java.lang.String source,
java.lang.String flags)
|
int |
find_split(Context cx,
Scriptable scope,
java.lang.String target,
java.lang.String separator,
Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
java.lang.String[][] parensp)
|
boolean |
isRegExp(Scriptable obj)
|
Scriptable |
wrapRegExp(Context cx,
Scriptable scope,
java.lang.Object compiled)
|
RA_MATCH
public static final int RA_MATCH
- See Also:
- Constant Field Values
RA_REPLACE
public static final int RA_REPLACE
- See Also:
- Constant Field Values
RA_SEARCH
public static final int RA_SEARCH
- See Also:
- Constant Field Values
isRegExp
public boolean isRegExp(Scriptable obj)
compileRegExp
public java.lang.Object compileRegExp(Context cx,
java.lang.String source,
java.lang.String flags)
wrapRegExp
public Scriptable wrapRegExp(Context cx,
Scriptable scope,
java.lang.Object compiled)
action
public java.lang.Object action(Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args,
int actionType)
find_split
public int find_split(Context cx,
Scriptable scope,
java.lang.String target,
java.lang.String separator,
Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
java.lang.String[][] parensp)