org.mozilla.javascript.regexp

Class RegExpImpl

Implemented Interfaces:
RegExpProxy

public class RegExpImpl
extends java.lang.Object
implements RegExpProxy

Fields inherited from interface org.mozilla.javascript.RegExpProxy

RA_MATCH, RA_REPLACE, RA_SEARCH

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)
Scriptable
wrapRegExp(Context cx, Scriptable scope, Object compiled)

Method Details

action

public Object action(Context cx,
                     Scriptable scope,
                     Scriptable thisObj,
                     Object[] args,
                     int actionType)
Specified by:
action in interface RegExpProxy

compileRegExp

public Object compileRegExp(Context cx,
                            String source,
                            String flags)
Specified by:
compileRegExp 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

isRegExp

public boolean isRegExp(Scriptable obj)
Specified by:
isRegExp in interface RegExpProxy

wrapRegExp

public Scriptable wrapRegExp(Context cx,
                             Scriptable scope,
                             Object compiled)
Specified by:
wrapRegExp in interface RegExpProxy