org.mozilla.javascript.regexp
Class RegExpImpl
java.lang.Object
org.mozilla.javascript.regexp.RegExpImpl
- All Implemented Interfaces:
- RegExpProxy
public class RegExpImpl
- extends Object
- implements RegExpProxy
Method Summary |
Object |
action(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args,
int actionType)
|
Object |
compileRegExp(Context cx,
String source,
String flags)
|
int |
find_split(Context cx,
Scriptable scope,
String target,
String separator,
Scriptable reObj,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp)
|
boolean |
isRegExp(Scriptable obj)
|
Object |
js_split(Context cx,
Scriptable scope,
String target,
Object[] args)
|
Scriptable |
wrapRegExp(Context cx,
Scriptable scope,
Object compiled)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected String input
multiline
protected boolean multiline
parens
protected SubString[] parens
lastMatch
protected SubString lastMatch
lastParen
protected SubString lastParen
leftContext
protected SubString leftContext
rightContext
protected SubString rightContext
RegExpImpl
public RegExpImpl()
isRegExp
public boolean isRegExp(Scriptable obj)
- Specified by:
isRegExp
in interface RegExpProxy
compileRegExp
public Object compileRegExp(Context cx,
String source,
String flags)
- Specified by:
compileRegExp
in interface RegExpProxy
wrapRegExp
public Scriptable wrapRegExp(Context cx,
Scriptable scope,
Object compiled)
- Specified by:
wrapRegExp
in interface RegExpProxy
action
public Object action(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args,
int actionType)
- Specified by:
action
in interface RegExpProxy
find_split
public int find_split(Context cx,
Scriptable scope,
String target,
String separator,
Scriptable reObj,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp)
- Specified by:
find_split
in interface RegExpProxy
js_split
public Object js_split(Context cx,
Scriptable scope,
String target,
Object[] args)
- Specified by:
js_split
in interface RegExpProxy