Package org.mozilla.javascript.regexp
Class RegExpImpl
java.lang.Object
org.mozilla.javascript.regexp.RegExpImpl
- All Implemented Interfaces:
RegExpProxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected SubStringprotected SubStringprotected SubStringprotected booleanprotected SubString[]protected SubStringFields inherited from interface org.mozilla.javascript.RegExpProxy
RA_MATCH, RA_REPLACE, RA_REPLACE_ALL, RA_SEARCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) compileRegExp(Context cx, String source, String flags) intfind_split(Context cx, Scriptable scope, String target, String separator, Scriptable reObj, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) booleanisRegExp(Scriptable obj) js_split(Context cx, Scriptable scope, String target, Object[] args) voidregister(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:
registerin interfaceRegExpProxy
-
isRegExp
- Specified by:
isRegExpin interfaceRegExpProxy
-
compileRegExp
- Specified by:
compileRegExpin interfaceRegExpProxy
-
wrapRegExp
- Specified by:
wrapRegExpin interfaceRegExpProxy
-
action
public Object action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) - Specified by:
actionin 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_splitin interfaceRegExpProxy
-
js_split
- Specified by:
js_splitin interfaceRegExpProxy
-