Package org.mozilla.javascript.regexp
Class RegExpImpl
java.lang.Object
org.mozilla.javascript.regexp.RegExpImpl
- All Implemented Interfaces:
RegExpProxy
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected SubString
protected SubString
protected SubString
protected boolean
protected SubString[]
protected SubString
Fields inherited from interface org.mozilla.javascript.RegExpProxy
RA_MATCH, RA_REPLACE, RA_REPLACE_ALL, RA_SEARCH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) 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) js_split
(Context cx, Scriptable scope, String target, Object[] args) void
register
(ScriptableObject scope, boolean sealed) wrapRegExp
(Context cx, Scriptable scope, Object compiled)
-
Field Details
-
input
-
multiline
protected boolean multiline -
parens
-
lastMatch
-
lastParen
-
leftContext
-
rightContext
-
-
Constructor Details
-
RegExpImpl
public RegExpImpl()
-
-
Method Details
-
register
- Specified by:
register
in interfaceRegExpProxy
-
isRegExp
- Specified by:
isRegExp
in interfaceRegExpProxy
-
compileRegExp
- Specified by:
compileRegExp
in interfaceRegExpProxy
-
wrapRegExp
- Specified by:
wrapRegExp
in interfaceRegExpProxy
-
action
public Object action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) - Specified by:
action
in interfaceRegExpProxy
-
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 interfaceRegExpProxy
-
js_split
- Specified by:
js_split
in interfaceRegExpProxy
-