| java.lang.Object com.caucho.es.ESBase com.caucho.es.ESObject
All known Subclasses: com.caucho.es.NativeWrapper, com.caucho.es.ESClass, com.caucho.es.ESDate, com.caucho.es.ESClosure, com.caucho.es.ESArray, com.caucho.es.ESRegexp, com.caucho.es.ESArguments, com.caucho.es.ESGlobal, com.caucho.es.ESWrapper, com.caucho.es.ESJavaWrapper,
ESObject | public class ESObject extends ESBase (Code) | | Implementation class for a JavaScript Object.
|
Method Summary | |
public ESBase | call(Call call, int length) | protected boolean | canPut(ESString name) | public ESBase | construct(Call call, int length) | public Object | copy(HashMap refs) | protected void | copy(Object newObj) | protected void | copy(HashMap refs, Object newObj) | public ESBase | delete(ESString name) Deletes the entry. | ESObject | dup() | public boolean | ecmaEquals(ESBase b) | public ESBase | getProperty(ESString name) Gets a property value. | void | init(String className, ESBase proto) | public Iterator | keys() | public void | put(ESString name, ESBase value, int flags) | public void | put(String name, ESBase value, int flags) | public void | put(int i, ESBase value, int flags) | ESObject | resinCopy() | void | setClean() | public void | setProperty(ESString name, ESBase value) | ESObject | shallowCopy() | protected void | shallowCopy(Object newObj) | public boolean | toBoolean() | public Object | toJavaObject() | public double | toNum() | public ESObject | toObject() | public ESBase | toPrimitive(int hint) | public ESString | toSource(IntMap map, boolean isLoopPass) | public ESString | toStr() | public ESBase | typeof() | public void | unwatch(ESString name) | public void | watch(ESString name, ESBase fun) |
propFlags | int[] propFlags(Code) | | |
snapPrototype | protected boolean snapPrototype(Code) | | |
ESObject | protected ESObject()(Code) | | |
ESObject | public ESObject(String className, ESBase proto)(Code) | | Simple constructor for parentless objects.
|
put | public void put(int i, ESBase value, int flags)(Code) | | Sets the named property
|
setClean | void setClean()(Code) | | |
setProperty | public void setProperty(ESString name, ESBase value) throws Throwable(Code) | | Puts a new value in the property table with the appropriate flags
|
toBoolean | public boolean toBoolean()(Code) | | |
toNum | public double toNum() throws Throwable(Code) | | Returns a string rep of the object
|
Methods inherited from com.caucho.es.ESBase | public ESBase call(Call eval, int length) throws Throwable(Code)(Java Doc) public ESBase call(Call eval, int length, ESString key) throws Throwable(Code)(Java Doc) boolean canPut(ESString name)(Code)(Java Doc) public ESBase construct(Call eval, int length) throws Throwable(Code)(Java Doc) Object copy(HashMap refs)(Code)(Java Doc) public ESBase delete(ESString key) throws Throwable(Code)(Java Doc) ESBase delete(String key) throws Throwable(Code)(Java Doc) ESBase delete(int i) throws Throwable(Code)(Java Doc) public boolean ecmaEquals(ESBase b) throws Throwable(Code)(Java Doc) String getClassName()(Code)(Java Doc) public Class getJavaType()(Code)(Java Doc) public ESBase getProperty(ESString key) throws Throwable(Code)(Java Doc) public ESBase getProperty(String key) throws Throwable(Code)(Java Doc) ESBase getProperty(int i) throws Throwable(Code)(Java Doc) public boolean greaterThan(ESBase ob, boolean neg) throws Throwable(Code)(Java Doc) public ESBase hasProperty(ESString key) throws Throwable(Code)(Java Doc) ESBase hasProperty(int i) throws Throwable(Code)(Java Doc) static void init(ESFactory factory)(Code)(Java Doc) public boolean isBoolean()(Code)(Java Doc) public boolean isNum()(Code)(Java Doc) public boolean isString()(Code)(Java Doc) public Iterator keys() throws Throwable(Code)(Java Doc) public boolean lessThan(ESBase ob, boolean neg) throws Throwable(Code)(Java Doc) public ESBase plus(ESBase b) throws Throwable(Code)(Java Doc) public void setProperty(ESString key, ESBase value) throws Throwable(Code)(Java Doc) public void setProperty(String key, ESBase value) throws Throwable(Code)(Java Doc) public void setProperty(int i, ESBase value) throws Throwable(Code)(Java Doc) public boolean toBoolean()(Code)(Java Doc) public int toInt32() throws Throwable(Code)(Java Doc) public Object toJavaObject() throws ESException(Code)(Java Doc) public String toJavaString() throws Throwable(Code)(Java Doc) public double toNum() throws Throwable(Code)(Java Doc) public ESObject toObject() throws ESException(Code)(Java Doc) public ESBase toPrimitive(int type) throws Throwable(Code)(Java Doc) public ESBase toPrimitive() throws Throwable(Code)(Java Doc) public ESString toSource(IntMap map, boolean isLoopPass) throws Throwable(Code)(Java Doc) public ESString toStr() throws Throwable(Code)(Java Doc) public String toString()(Code)(Java Doc) public ESBase typeof() throws ESException(Code)(Java Doc) public ESBase valueOf() throws Throwable(Code)(Java Doc)
|
|
|