Package org.mozilla.javascript.regexp
Class RegExpImpl
- java.lang.Object
-
- org.mozilla.javascript.regexp.RegExpImpl
-
- All Implemented Interfaces:
RegExpProxy
public class RegExpImpl extends java.lang.Object implements RegExpProxy
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringinputprotected SubStringlastMatchprotected SubStringlastParenprotected SubStringleftContextprotected booleanmultilineprotected SubString[]parensprotected SubStringrightContext-
Fields inherited from interface org.mozilla.javascript.RegExpProxy
RA_MATCH, RA_REPLACE, RA_REPLACE_ALL, RA_SEARCH
-
-
Constructor Summary
Constructors Constructor Description RegExpImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectaction(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args, int actionType)java.lang.ObjectcompileRegExp(Context cx, java.lang.String source, java.lang.String flags)intfind_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)booleanisRegExp(Scriptable obj)java.lang.Objectjs_split(Context cx, Scriptable scope, java.lang.String target, java.lang.Object[] args)ScriptablewrapRegExp(Context cx, Scriptable scope, java.lang.Object compiled)
-
-
-
Method Detail
-
isRegExp
public boolean isRegExp(Scriptable obj)
- Specified by:
isRegExpin interfaceRegExpProxy
-
compileRegExp
public java.lang.Object compileRegExp(Context cx, java.lang.String source, java.lang.String flags)
- Specified by:
compileRegExpin interfaceRegExpProxy
-
wrapRegExp
public Scriptable wrapRegExp(Context cx, Scriptable scope, java.lang.Object compiled)
- Specified by:
wrapRegExpin interfaceRegExpProxy
-
action
public java.lang.Object action(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args, int actionType)
- Specified by:
actionin interfaceRegExpProxy
-
find_split
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)
- Specified by:
find_splitin interfaceRegExpProxy
-
js_split
public java.lang.Object js_split(Context cx, Scriptable scope, java.lang.String target, java.lang.Object[] args)
- Specified by:
js_splitin interfaceRegExpProxy
-
-