| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
package org.mozilla.javascript; |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
public interface RegExpProxy |
| 16 |
{ |
| 17 |
|
| 18 |
public static final int RA_MATCH = 1; |
| 19 |
public static final int RA_REPLACE = 2; |
| 20 |
public static final int RA_SEARCH = 3; |
| 21 |
|
| 22 |
public boolean isRegExp(Scriptable obj); |
| 23 |
|
| 24 |
public Object compileRegExp(Context cx, String source, String flags); |
| 25 |
|
| 26 |
public Scriptable wrapRegExp(Context cx, Scriptable scope, |
| 27 |
Object compiled); |
| 28 |
|
| 29 |
public Object action(Context cx, Scriptable scope, |
| 30 |
Scriptable thisObj, Object[] args, |
| 31 |
int actionType); |
| 32 |
|
| 33 |
public int find_split(Context cx, Scriptable scope, String target, |
| 34 |
String separator, Scriptable re, |
| 35 |
int[] ip, int[] matchlen, |
| 36 |
boolean[] matched, String[][] parensp); |
| 37 |
|
| 38 |
public Object js_split(Context _cx, Scriptable _scope, |
| 39 |
String thisString, Object[] _args); |
| 40 |
} |