public class RegExpImpl extends java.lang.Object implements RegExpProxy
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
input |
protected SubString |
lastMatch |
protected SubString |
lastParen |
protected SubString |
leftContext |
protected boolean |
multiline |
protected SubString[] |
parens |
protected SubString |
rightContext |
RA_MATCH, RA_REPLACE, RA_SEARCH| Constructor and Description |
|---|
RegExpImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 reObj,
int[] ip,
int[] matchlen,
boolean[] matched,
java.lang.String[][] parensp) |
boolean |
isRegExp(Scriptable obj) |
java.lang.Object |
js_split(Context cx,
Scriptable scope,
java.lang.String target,
java.lang.Object[] args) |
Scriptable |
wrapRegExp(Context cx,
Scriptable scope,
java.lang.Object compiled) |
protected java.lang.String input
protected boolean multiline
protected SubString[] parens
protected SubString lastMatch
protected SubString lastParen
protected SubString leftContext
protected SubString rightContext
public boolean isRegExp(Scriptable obj)
isRegExp in interface RegExpProxypublic java.lang.Object compileRegExp(Context cx, java.lang.String source, java.lang.String flags)
compileRegExp in interface RegExpProxypublic Scriptable wrapRegExp(Context cx, Scriptable scope, java.lang.Object compiled)
wrapRegExp in interface RegExpProxypublic java.lang.Object action(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args, int actionType)
action in interface RegExpProxypublic int find_split(Context cx, Scriptable scope, java.lang.String target, java.lang.String separator, Scriptable reObj, int[] ip, int[] matchlen, boolean[] matched, java.lang.String[][] parensp)
find_split in interface RegExpProxypublic java.lang.Object js_split(Context cx, Scriptable scope, java.lang.String target, java.lang.Object[] args)
js_split in interface RegExpProxy