public class RegExpImpl extends java.lang.Object implements RegExpProxy
限定符和类型 | 字段和说明 |
---|---|
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
构造器和说明 |
---|
RegExpImpl() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 RegExpProxy
public java.lang.Object compileRegExp(Context cx, java.lang.String source, java.lang.String flags)
compileRegExp
在接口中 RegExpProxy
public Scriptable wrapRegExp(Context cx, Scriptable scope, java.lang.Object compiled)
wrapRegExp
在接口中 RegExpProxy
public java.lang.Object action(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args, int actionType)
action
在接口中 RegExpProxy
public 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
在接口中 RegExpProxy
public java.lang.Object js_split(Context cx, Scriptable scope, java.lang.String target, java.lang.Object[] args)
js_split
在接口中 RegExpProxy