public class HtmlUnitRegExpProxy extends org.htmlunit.corejs.javascript.regexp.RegExpImpl
input, lastMatch, lastParen, leftContext, multiline, parens, rightContext
RA_MATCH, RA_REPLACE, RA_REPLACE_ALL, RA_SEARCH
Constructor and Description |
---|
HtmlUnitRegExpProxy(org.htmlunit.corejs.javascript.RegExpProxy wrapped)
Wraps a proxy to enhance it.
|
Modifier and Type | Method and Description |
---|---|
Object |
action(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
org.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
int actionType)
Use the wrapped proxy except for replacement with string arg where it uses Java regular expression.
|
Object |
compileRegExp(org.htmlunit.corejs.javascript.Context cx,
String source,
String flags) |
int |
find_split(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
String target,
String separator,
org.htmlunit.corejs.javascript.Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp) |
boolean |
isRegExp(org.htmlunit.corejs.javascript.Scriptable obj) |
org.htmlunit.corejs.javascript.Scriptable |
wrapRegExp(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
Object compiled) |
js_split
public HtmlUnitRegExpProxy(org.htmlunit.corejs.javascript.RegExpProxy wrapped)
wrapped
- the original proxypublic Object action(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, int actionType)
action
in interface org.htmlunit.corejs.javascript.RegExpProxy
action
in class org.htmlunit.corejs.javascript.regexp.RegExpImpl
public Object compileRegExp(org.htmlunit.corejs.javascript.Context cx, String source, String flags)
compileRegExp
in interface org.htmlunit.corejs.javascript.RegExpProxy
compileRegExp
in class org.htmlunit.corejs.javascript.regexp.RegExpImpl
public int find_split(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, String target, String separator, org.htmlunit.corejs.javascript.Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)
find_split
in interface org.htmlunit.corejs.javascript.RegExpProxy
find_split
in class org.htmlunit.corejs.javascript.regexp.RegExpImpl
public boolean isRegExp(org.htmlunit.corejs.javascript.Scriptable obj)
isRegExp
in interface org.htmlunit.corejs.javascript.RegExpProxy
isRegExp
in class org.htmlunit.corejs.javascript.regexp.RegExpImpl
public org.htmlunit.corejs.javascript.Scriptable wrapRegExp(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, Object compiled)
wrapRegExp
in interface org.htmlunit.corejs.javascript.RegExpProxy
wrapRegExp
in class org.htmlunit.corejs.javascript.regexp.RegExpImpl
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.