Java Doc for ESClosure.java in  » EJB-Server-resin-3.1.5 » ecmascript » com » caucho » es » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » ecmascript » com.caucho.es 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.es.ESBase
      com.caucho.es.ESObject
         com.caucho.es.ESClosure

ESClosure
public class ESClosure extends ESObject (Code)
Implementation class representing a JavaScript function.


Field Summary
static  ESStringARGUMENTS
    
static  ESStringCALLEE
    
static  ESStringCONSTRUCTOR
    
static  ESStringLENGTH
    
static  ESStringOBJECT
    
static  ESStringPROTOTYPE
    
 ESId[]formals
    
 ESGlobalglobal
    
 booleanhasFields
    
public  intn
    
 intnFormals
    
public  ESStringname
    
 ESBaseproto
    
 ESBase[]scope
    
 intscopeLength
    
 intscopeRequired
    
 intstackRequired
    

Constructor Summary
public  ESClosure(ESString name, ESCallable esClass, ESObject proto, int n, ESId[] formals, ESObject global)
    
protected  ESClosure(ESBase[] scope, int scopeLength)
    
protected  ESClosure()
    

Method Summary
public  ESBasecall(Call call, int length)
    
public  booleancanPut(ESString id)
    
public  voidclosure(Call env)
    
public  ESBaseconstruct(Call eval, int length)
    
protected  voidcopy(Object newObj)
    
 Stringdecompile()
    
public  ESBasedelete(ESString id)
    
protected  ESBasedispatch()
    
public  ESObjectdup()
    
 ESObjectgetClassPrototype()
    
public  ESBasegetProperty(ESString id)
    
public  ESBasehasProperty(ESString id)
    
public  voidput(ESString id, ESBase value, int flags)
    
 ESObjectresinCopy()
    
 voidsetClassPrototype(ESObject proto)
    
public  voidsetProperty(ESString id, ESBase value)
    
 voidsetScope(ESBase[] scope, int scopeLength)
    
public  ESStringtoStr()
    
public  ESBasetypeof()
    

Field Detail
ARGUMENTS
static ESString ARGUMENTS(Code)



CALLEE
static ESString CALLEE(Code)



CONSTRUCTOR
static ESString CONSTRUCTOR(Code)



LENGTH
static ESString LENGTH(Code)



OBJECT
static ESString OBJECT(Code)



PROTOTYPE
static ESString PROTOTYPE(Code)



formals
ESId[] formals(Code)



global
ESGlobal global(Code)



hasFields
boolean hasFields(Code)



n
public int n(Code)



nFormals
int nFormals(Code)



name
public ESString name(Code)



proto
ESBase proto(Code)



scope
ESBase[] scope(Code)



scopeLength
int scopeLength(Code)



scopeRequired
int scopeRequired(Code)



stackRequired
int stackRequired(Code)




Constructor Detail
ESClosure
public ESClosure(ESString name, ESCallable esClass, ESObject proto, int n, ESId[] formals, ESObject global)(Code)



ESClosure
protected ESClosure(ESBase[] scope, int scopeLength)(Code)



ESClosure
protected ESClosure()(Code)
Create a new object based on a prototype




Method Detail
call
public ESBase call(Call call, int length) throws Throwable(Code)



canPut
public boolean canPut(ESString id)(Code)



closure
public void closure(Call env)(Code)



construct
public ESBase construct(Call eval, int length) throws Throwable(Code)



copy
protected void copy(Object newObj)(Code)



decompile
String decompile()(Code)



delete
public ESBase delete(ESString id) throws Throwable(Code)



dispatch
protected ESBase dispatch() throws ESException(Code)



dup
public ESObject dup()(Code)



getClassPrototype
ESObject getClassPrototype() throws Throwable(Code)



getProperty
public ESBase getProperty(ESString id) throws Throwable(Code)



hasProperty
public ESBase hasProperty(ESString id) throws Throwable(Code)



put
public void put(ESString id, ESBase value, int flags)(Code)



resinCopy
ESObject resinCopy()(Code)



setClassPrototype
void setClassPrototype(ESObject proto) throws ESException(Code)



setProperty
public void setProperty(ESString id, ESBase value) throws Throwable(Code)



setScope
void setScope(ESBase[] scope, int scopeLength)(Code)
Create a new object based on a prototype



toStr
public ESString toStr()(Code)



typeof
public ESBase typeof() throws ESException(Code)



Fields inherited from com.caucho.es.ESObject
static ESId CALL(Code)(Java Doc)
static int CLEAN(Code)(Java Doc)
static ESId CONSTRUCT(Code)(Java Doc)
static int COW(Code)(Java Doc)
static int DIRTY(Code)(Java Doc)
static ESId TO_STRING(Code)(Java Doc)
static ESId VALUE_OF(Code)(Java Doc)
int copyState(Code)(Java Doc)
int fill(Code)(Java Doc)
int mark(Code)(Java Doc)
int mask(Code)(Java Doc)
int[] propFlags(Code)(Java Doc)
ESString[] propNames(Code)(Java Doc)
ESBase[] propValues(Code)(Java Doc)
ESBase[] propWatch(Code)(Java Doc)
int size(Code)(Java Doc)
protected boolean snapPrototype(Code)(Java Doc)

Methods inherited from com.caucho.es.ESObject
public ESBase call(Call call, int length) throws Throwable(Code)(Java Doc)
protected boolean canPut(ESString name)(Code)(Java Doc)
public ESBase construct(Call call, int length) throws Throwable(Code)(Java Doc)
public Object copy(HashMap refs)(Code)(Java Doc)
protected void copy(Object newObj)(Code)(Java Doc)
protected void copy(HashMap refs, Object newObj)(Code)(Java Doc)
public ESBase delete(ESString name) throws Throwable(Code)(Java Doc)
ESObject dup()(Code)(Java Doc)
public boolean ecmaEquals(ESBase b) throws Throwable(Code)(Java Doc)
public ESBase getProperty(ESString name) throws Throwable(Code)(Java Doc)
void init(String className, ESBase proto)(Code)(Java Doc)
public Iterator keys() throws ESException(Code)(Java Doc)
public void put(ESString name, ESBase value, int flags)(Code)(Java Doc)
public void put(String name, ESBase value, int flags)(Code)(Java Doc)
public void put(int i, ESBase value, int flags)(Code)(Java Doc)
ESObject resinCopy()(Code)(Java Doc)
void setClean()(Code)(Java Doc)
public void setProperty(ESString name, ESBase value) throws Throwable(Code)(Java Doc)
ESObject shallowCopy()(Code)(Java Doc)
protected void shallowCopy(Object newObj)(Code)(Java Doc)
public boolean toBoolean()(Code)(Java Doc)
public Object toJavaObject() throws ESException(Code)(Java Doc)
public double toNum() throws Throwable(Code)(Java Doc)
public ESObject toObject()(Code)(Java Doc)
public ESBase toPrimitive(int hint) 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 ESBase typeof() throws ESException(Code)(Java Doc)
public void unwatch(ESString name)(Code)(Java Doc)
public void watch(ESString name, ESBase fun)(Code)(Java Doc)

Fields inherited from com.caucho.es.ESBase
final public static int DONT_DELETE(Code)(Java Doc)
final public static int DONT_ENUM(Code)(Java Doc)
final static int NONE(Code)(Java Doc)
final static int NUMBER(Code)(Java Doc)
final public static int READ_ONLY(Code)(Java Doc)
final static int STRING(Code)(Java Doc)
final static int WATCH(Code)(Java Doc)
String className(Code)(Java Doc)
public static ESBase esBase(Code)(Java Doc)
public static ESBase esEmpty(Code)(Java Doc)
public static ESBase esNull(Code)(Java Doc)
public static ESBase esUndefined(Code)(Java Doc)
ESBase prototype(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.