com.caucho.es
Class ESRegexp
java.lang.Object
|
+--com.caucho.es.ESBase
|
+--com.caucho.es.ESObject
|
+--com.caucho.es.ESRegexp
- public class ESRegexp
- extends ESObject
Constructor Summary |
protected |
ESRegexp()
|
|
ESRegexp(java.lang.String pattern,
java.lang.String flags)
|
Methods inherited from class com.caucho.es.ESObject |
canPut, construct, copy, copy, ecmaEquals, put, put, put, shallowCopy, toBoolean, toNum, toObject, toPrimitive, toStr, typeof, unwatch, watch |
Methods inherited from class com.caucho.es.ESBase |
call, getJavaType, getProperty, greaterThan, hasProperty, isBoolean, isNum, isString, lessThan, plus, setProperty, setProperty, toInt32, toJavaString, toPrimitive, toString, valueOf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ESRegexp
public ESRegexp(java.lang.String pattern,
java.lang.String flags)
throws ESException
ESRegexp
protected ESRegexp()
getProperty
public ESBase getProperty(ESString key)
throws java.lang.Exception
- Description copied from class:
ESObject
- Gets a property value.
- Overrides:
getProperty
in class ESObject
setProperty
public void setProperty(ESString key,
ESBase value)
throws java.lang.Exception
- Description copied from class:
ESObject
- Puts a new value in the property table with the appropriate flags
- Overrides:
setProperty
in class ESObject
delete
public ESBase delete(ESString key)
throws java.lang.Exception
- Description copied from class:
ESObject
- Deletes the entry. Returns true if successful.
- Overrides:
delete
in class ESObject
keys
public java.util.Iterator keys()
throws ESException
- Overrides:
keys
in class ESObject
toSource
public ESString toSource(IntMap map,
boolean isLoopPass)
throws java.lang.Exception
- Overrides:
toSource
in class ESObject
toJavaObject
public java.lang.Object toJavaObject()
- Overrides:
toJavaObject
in class ESObject
call
public ESBase call(Call call,
int length)
throws java.lang.Exception
- Overrides:
call
in class ESObject
dup
protected ESObject dup()
copy
protected void copy(java.lang.Object newObj)
- Overrides:
copy
in class ESObject