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


Constructor Summary
RegExpImpl()
           
 
Method Summary
 int find_split(Scriptable scope, java.lang.String target, java.lang.String separator, java.lang.Object reObj, int[] ip, int[] matchlen, boolean[] matched, java.lang.String[][] parensp)
           
 boolean isRegExp(java.lang.Object obj)
           
 java.lang.Object match(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
           
 java.lang.Object newRegExp(Context cx, Scriptable scope, java.lang.String source, java.lang.String global, boolean flat)
           
 java.lang.Object replace(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
           
 java.lang.Object search(Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExpImpl

public RegExpImpl()
Method Detail

isRegExp

public boolean isRegExp(java.lang.Object obj)
Specified by:
isRegExp in interface RegExpProxy

newRegExp

public java.lang.Object newRegExp(Context cx,
                                  Scriptable scope,
                                  java.lang.String source,
                                  java.lang.String global,
                                  boolean flat)
Specified by:
newRegExp in interface RegExpProxy

match

public java.lang.Object match(Context cx,
                              Scriptable scope,
                              Scriptable thisObj,
                              java.lang.Object[] args)
                       throws JavaScriptException
Specified by:
match in interface RegExpProxy

search

public java.lang.Object search(Context cx,
                               Scriptable scope,
                               Scriptable thisObj,
                               java.lang.Object[] args)
                        throws JavaScriptException
Specified by:
search in interface RegExpProxy

replace

public java.lang.Object replace(Context cx,
                                Scriptable scope,
                                Scriptable thisObj,
                                java.lang.Object[] args)
                         throws JavaScriptException
Specified by:
replace in interface RegExpProxy

find_split

public int find_split(Scriptable scope,
                      java.lang.String target,
                      java.lang.String separator,
                      java.lang.Object reObj,
                      int[] ip,
                      int[] matchlen,
                      boolean[] matched,
                      java.lang.String[][] parensp)
Specified by:
find_split in interface RegExpProxy