Java Doc for OptRuntime.java in  » Scripting » rhino » org » mozilla » javascript » optimizer » 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 » Scripting » rhino » org.mozilla.javascript.optimizer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mozilla.javascript.ScriptRuntime
      org.mozilla.javascript.optimizer.OptRuntime

OptRuntime
final public class OptRuntime extends ScriptRuntime (Code)

Inner Class :public static class GeneratorState

Field Summary
final public static  DoubleminusOneObj
    
final public static  DoubleoneObj
    
final public static  DoublezeroObj
    


Method Summary
public static  Objectadd(Object val1, double val2)
    
public static  Objectadd(double val1, Object val2)
    
public static  Objectcall0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope)
     Implement ....() call shrinking optimizer code.
public static  Objectcall1(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope)
     Implement ....(arg) call shrinking optimizer code.
public static  Objectcall2(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope)
     Implement ....(arg0, arg1) call shrinking optimizer code.
public static  ObjectcallN(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope)
     Implement ....(arg0, arg1, ...) call shrinking optimizer code.
public static  ObjectcallName(Object[] args, String name, Context cx, Scriptable scope)
     Implement name(args) call shrinking optimizer code.
public static  ObjectcallName0(String name, Context cx, Scriptable scope)
     Implement name() call shrinking optimizer code.
public static  ObjectcallProp0(Object value, String property, Context cx, Scriptable scope)
     Implement x.property() call shrinking optimizer code.
public static  ObjectcallSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber)
    
public static  ScriptablecreateNativeGenerator(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack)
    
public static  ObjectelemIncrDecr(Object obj, double index, Context cx, int incrDecrMask)
    
static  StringencodeIntArray(int[] array)
    
public static  Object[]getGeneratorLocalsState(Object obj)
    
public static  Object[]getGeneratorStackState(Object obj)
    
public static  voidinitFunction(NativeFunction fn, int functionType, Scriptable scope, Context cx)
    
public static  voidmain(Script script, String[] args)
    
public static  ScriptablenewArrayLiteral(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope)
    
public static  ObjectnewObjectSpecial(Context cx, Object fun, Object[] args, Scriptable scope, Scriptable callerThis, int callType)
    
public static  Object[]padStart(Object[] currentArgs, int count)
    
public static  voidthrowStopIteration(Object obj)
    
public static  DoublewrapDouble(double num)
    

Field Detail
minusOneObj
final public static Double minusOneObj(Code)



oneObj
final public static Double oneObj(Code)



zeroObj
final public static Double zeroObj(Code)





Method Detail
add
public static Object add(Object val1, double val2)(Code)



add
public static Object add(double val1, Object val2)(Code)



call0
public static Object call0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope)(Code)
Implement ....() call shrinking optimizer code.



call1
public static Object call1(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope)(Code)
Implement ....(arg) call shrinking optimizer code.



call2
public static Object call2(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope)(Code)
Implement ....(arg0, arg1) call shrinking optimizer code.



callN
public static Object callN(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope)(Code)
Implement ....(arg0, arg1, ...) call shrinking optimizer code.



callName
public static Object callName(Object[] args, String name, Context cx, Scriptable scope)(Code)
Implement name(args) call shrinking optimizer code.



callName0
public static Object callName0(String name, Context cx, Scriptable scope)(Code)
Implement name() call shrinking optimizer code.



callProp0
public static Object callProp0(Object value, String property, Context cx, Scriptable scope)(Code)
Implement x.property() call shrinking optimizer code.



callSpecial
public static Object callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber)(Code)



createNativeGenerator
public static Scriptable createNativeGenerator(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack)(Code)



elemIncrDecr
public static Object elemIncrDecr(Object obj, double index, Context cx, int incrDecrMask)(Code)



encodeIntArray
static String encodeIntArray(int[] array)(Code)



getGeneratorLocalsState
public static Object[] getGeneratorLocalsState(Object obj)(Code)



getGeneratorStackState
public static Object[] getGeneratorStackState(Object obj)(Code)



initFunction
public static void initFunction(NativeFunction fn, int functionType, Scriptable scope, Context cx)(Code)



main
public static void main(Script script, String[] args)(Code)



newArrayLiteral
public static Scriptable newArrayLiteral(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope)(Code)



newObjectSpecial
public static Object newObjectSpecial(Context cx, Object fun, Object[] args, Scriptable scope, Scriptable callerThis, int callType)(Code)



padStart
public static Object[] padStart(Object[] currentArgs, int count)(Code)



throwStopIteration
public static void throwStopIteration(Object obj)(Code)



wrapDouble
public static Double wrapDouble(double num)(Code)



Fields inherited from org.mozilla.javascript.ScriptRuntime
final public static Class BooleanClassByteClassCharacterClassClassClassDoubleClassFloatClassIntegerClassLongClassNumberClassObjectClassShortClassStringClassDateClass(Code)(Java Doc)
final public static Class ContextClassContextFactoryClassFunctionClassScriptableClassScriptableObjectClass(Code)(Java Doc)
final public static int ENUMERATE_ARRAY(Code)(Java Doc)
final public static int ENUMERATE_ARRAY_NO_ITERATOR(Code)(Java Doc)
final public static int ENUMERATE_KEYS(Code)(Java Doc)
final public static int ENUMERATE_KEYS_NO_ITERATOR(Code)(Java Doc)
final public static int ENUMERATE_VALUES(Code)(Java Doc)
final public static int ENUMERATE_VALUES_NO_ITERATOR(Code)(Java Doc)
final public static double NaN(Code)(Java Doc)
final public static Double NaNobj(Code)(Java Doc)
final public static Object[] emptyArgs(Code)(Java Doc)
final public static String[] emptyStrings(Code)(Java Doc)
final public static double negativeZero(Code)(Java Doc)

Methods inherited from org.mozilla.javascript.ScriptRuntime
public static Object add(Object val1, Object val2, Context cx)(Code)(Java Doc)
public static String add(String val1, Object val2)(Code)(Java Doc)
public static String add(Object val1, String val2)(Code)(Java Doc)
public static void addInstructionCount(Context cx, int instructionsToAdd)(Code)(Java Doc)
public static Object applyOrCall(boolean isApply, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)(Code)(Java Doc)
public static Scriptable bind(Context cx, Scriptable scope, String id)(Code)(Java Doc)
public static Object call(Context cx, Object fun, Object thisArg, Object[] args, Scriptable scope)(Code)(Java Doc)
public static Ref callRef(Callable function, Scriptable thisObj, Object[] args, Context cx)(Code)(Java Doc)
public static Object callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String filename, int lineNumber)(Code)(Java Doc)
public static RegExpProxy checkRegExpProxy(Context cx)(Code)(Java Doc)
public static boolean cmp_LE(Object val1, Object val2)(Code)(Java Doc)
public static boolean cmp_LT(Object val1, Object val2)(Code)(Java Doc)
public static EcmaError constructError(String error, String message)(Code)(Java Doc)
public static EcmaError constructError(String error, String message, int lineNumberDelta)(Code)(Java Doc)
public static EcmaError constructError(String error, String message, String sourceName, int lineNumber, String lineSource, int columnNumber)(Code)(Java Doc)
public static Scriptable createFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args)(Code)(Java Doc)
public static Object delete(Object obj, Object id, Context cx)(Code)(Java Doc)
public static boolean deleteObjectElem(Scriptable target, Object elem, Context cx)(Code)(Java Doc)
public static Object doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)(Code)(Java Doc)
public static Object elemIncrDecr(Object obj, Object index, Context cx, int incrDecrMask)(Code)(Java Doc)
public static void enterActivationFunction(Context cx, Scriptable scope)(Code)(Java Doc)
public static Scriptable enterDotQuery(Object value, Scriptable scope)(Code)(Java Doc)
public static Scriptable enterWith(Object obj, Context cx, Scriptable scope)(Code)(Java Doc)
public static Object enumId(Object enumObj, Context cx)(Code)(Java Doc)
public static Object enumInit(Object value, Context cx, boolean enumValues)(Code)(Java Doc)
public static Object enumInit(Object value, Context cx, int enumType)(Code)(Java Doc)
public static Boolean enumNext(Object enumObj)(Code)(Java Doc)
public static Object enumValue(Object enumObj, Context cx)(Code)(Java Doc)
public static boolean eq(Object x, Object y)(Code)(Java Doc)
public static String escapeAttributeValue(Object value, Context cx)(Code)(Java Doc)
public static String escapeString(String s)(Code)(Java Doc)
public static String escapeString(String s, char escapeQuote)(Code)(Java Doc)
public static String escapeTextValue(Object value, Context cx)(Code)(Java Doc)
public static Object evalSpecial(Context cx, Scriptable scope, Object thisArg, Object[] args, String filename, int lineNumber)(Code)(Java Doc)
public static void exitActivationFunction(Context cx)(Code)(Java Doc)
public static Object[] getArrayElements(Scriptable object)(Code)(Java Doc)
public static Callable getElemFunctionAndThis(Object obj, Object elem, Context cx)(Code)(Java Doc)
public static ScriptableObject getGlobal(Context cx)(Code)(Java Doc)
public static ScriptableObject getLibraryScopeOrNull(Scriptable scope)(Code)(Java Doc)
public static String getMessage(String messageId, Object[] arguments)(Code)(Java Doc)
public static String getMessage0(String messageId)(Code)(Java Doc)
public static String getMessage1(String messageId, Object arg1)(Code)(Java Doc)
public static String getMessage2(String messageId, Object arg1, Object arg2)(Code)(Java Doc)
public static String getMessage3(String messageId, Object arg1, Object arg2, Object arg3)(Code)(Java Doc)
public static String getMessage4(String messageId, Object arg1, Object arg2, Object arg3, Object arg4)(Code)(Java Doc)
public static Callable getNameFunctionAndThis(String name, Context cx, Scriptable scope)(Code)(Java Doc)
public static Object getObjectElem(Object obj, Object elem, Context cx)(Code)(Java Doc)
public static Object getObjectElem(Scriptable obj, Object elem, Context cx)(Code)(Java Doc)
public static Object getObjectIndex(Object obj, double dblIndex, Context cx)(Code)(Java Doc)
public static Object getObjectIndex(Scriptable obj, int index, Context cx)(Code)(Java Doc)
public static Object getObjectProp(Object obj, String property, Context cx)(Code)(Java Doc)
public static Object getObjectProp(Scriptable obj, String property, Context cx)(Code)(Java Doc)
public static Object getObjectPropNoWarn(Object obj, String property, Context cx)(Code)(Java Doc)
public static Callable getPropFunctionAndThis(Object obj, String property, Context cx)(Code)(Java Doc)
public static RegExpProxy getRegExpProxy(Context cx)(Code)(Java Doc)
public static Scriptable getTopCallScope(Context cx)(Code)(Java Doc)
public static Object getTopLevelProp(Scriptable scope, String id)(Code)(Java Doc)
public static Callable getValueFunctionAndThis(Object value, Context cx)(Code)(Java Doc)
public static boolean hasObjectElem(Scriptable target, Object elem, Context cx)(Code)(Java Doc)
public static boolean hasTopCall(Context cx)(Code)(Java Doc)
public static boolean in(Object a, Object b, Context cx)(Code)(Java Doc)
public static void initFunction(Context cx, Scriptable scope, NativeFunction function, int type, boolean fromEvalCode)(Code)(Java Doc)
public static void initScript(NativeFunction funObj, Scriptable thisObj, Context cx, Scriptable scope, boolean evalScript)(Code)(Java Doc)
public static ScriptableObject initStandardObjects(Context cx, ScriptableObject scope, boolean sealed)(Code)(Java Doc)
public static boolean instanceOf(Object a, Object b, Context cx)(Code)(Java Doc)
public static boolean isArrayObject(Object obj)(Code)(Java Doc)
public static boolean isJSLineTerminator(int c)(Code)(Java Doc)
public static boolean isRhinoRuntimeType(Class cl)(Code)(Java Doc)
public static boolean jsDelegatesTo(Scriptable lhs, Scriptable rhs)(Code)(Java Doc)
public static Scriptable lastStoredScriptable(Context cx)(Code)(Java Doc)
public static long lastUint32Result(Context cx)(Code)(Java Doc)
public static Scriptable leaveDotQuery(Scriptable scope)(Code)(Java Doc)
public static Scriptable leaveWith(Scriptable scope)(Code)(Java Doc)
public static Ref memberRef(Object obj, Object elem, Context cx, int memberTypeFlags)(Code)(Java Doc)
public static Ref memberRef(Object obj, Object namespace, Object elem, Context cx, int memberTypeFlags)(Code)(Java Doc)
public static Object name(Context cx, Scriptable scope, String name)(Code)(Java Doc)
public static Object nameIncrDecr(Scriptable scopeChain, String id, int incrDecrMask)(Code)(Java Doc)
public static Object nameIncrDecr(Scriptable scopeChain, String id, Context cx, int incrDecrMask)(Code)(Java Doc)
public static Ref nameRef(Object name, Context cx, Scriptable scope, int memberTypeFlags)(Code)(Java Doc)
public static Ref nameRef(Object namespace, Object name, Context cx, Scriptable scope, int memberTypeFlags)(Code)(Java Doc)
public static Scriptable newArrayLiteral(Object[] objects, int[] skipIndices, Context cx, Scriptable scope)(Code)(Java Doc)
public static Scriptable newCatchScope(Throwable t, Scriptable lastCatchScope, String exceptionName, Context cx, Scriptable scope)(Code)(Java Doc)
public static Scriptable newObject(Context cx, Scriptable scope, String constructorName, Object[] args)(Code)(Java Doc)
public static Scriptable newObject(Object fun, Context cx, Scriptable scope, Object[] args)(Code)(Java Doc)
public static Scriptable newObjectLiteral(Object[] propertyIds, Object[] propertyValues, Context cx, Scriptable scope)(Code)(Java Doc)
public static Scriptable newObjectLiteral(Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope)(Code)(Java Doc)
public static Object newSpecial(Context cx, Object fun, Object[] args, Scriptable scope, int callType)(Code)(Java Doc)
public static RuntimeException notFoundError(Scriptable object, String property)(Code)(Java Doc)
public static RuntimeException notFunctionError(Object value)(Code)(Java Doc)
public static RuntimeException notFunctionError(Object value, Object messageHelper)(Code)(Java Doc)
public static RuntimeException notFunctionError(Object obj, Object value, String propertyName)(Code)(Java Doc)
public static String numberToString(double d, int base)(Code)(Java Doc)
public static Object[] padArguments(Object[] args, int count)(Code)(Java Doc)
public static Object propIncrDecr(Object obj, String id, Context cx, int incrDecrMask)(Code)(Java Doc)
public static Object refDel(Ref ref, Context cx)(Code)(Java Doc)
public static Object refGet(Ref ref, Context cx)(Code)(Java Doc)
public static Object refIncrDecr(Ref ref, Context cx, int incrDecrMask)(Code)(Java Doc)
public static Object refSet(Ref ref, Object value, Context cx)(Code)(Java Doc)
public static Object searchDefaultNamespace(Context cx)(Code)(Java Doc)
public static Object setConst(Scriptable bound, Object value, Context cx, String id)(Code)(Java Doc)
public static Object setDefaultNamespace(Object namespace, Context cx)(Code)(Java Doc)
public static void setEnumNumbers(Object enumObj, boolean enumNumbers)(Code)(Java Doc)
public static void setFunctionProtoAndParent(BaseFunction fn, Scriptable scope)(Code)(Java Doc)
public static Object setName(Scriptable bound, Object value, Context cx, Scriptable scope, String id)(Code)(Java Doc)
public static Object setObjectElem(Object obj, Object elem, Object value, Context cx)(Code)(Java Doc)
public static Object setObjectElem(Scriptable obj, Object elem, Object value, Context cx)(Code)(Java Doc)
public static Object setObjectIndex(Object obj, double dblIndex, Object value, Context cx)(Code)(Java Doc)
public static Object setObjectIndex(Scriptable obj, int index, Object value, Context cx)(Code)(Java Doc)
public static Object setObjectProp(Object obj, String property, Object value, Context cx)(Code)(Java Doc)
public static Object setObjectProp(Scriptable obj, String property, Object value, Context cx)(Code)(Java Doc)
public static void setObjectProtoAndParent(ScriptableObject object, Scriptable scope)(Code)(Java Doc)
public static void setRegExpProxy(Context cx, RegExpProxy proxy)(Code)(Java Doc)
public static boolean shallowEq(Object x, Object y)(Code)(Java Doc)
public static Ref specialRef(Object obj, String specialProperty, Context cx)(Code)(Java Doc)
public static void storeUint32Result(Context cx, long value)(Code)(Java Doc)
public static long testUint32String(String str)(Code)(Java Doc)
public static boolean toBoolean(Object val)(Code)(Java Doc)
public static int toInt32(Object val)(Code)(Java Doc)
public static int toInt32(Object[] args, int index)(Code)(Java Doc)
public static int toInt32(double d)(Code)(Java Doc)
public static double toInteger(Object val)(Code)(Java Doc)
public static double toInteger(double d)(Code)(Java Doc)
public static double toInteger(Object[] args, int index)(Code)(Java Doc)
public static Scriptable toIterator(Context cx, Scriptable scope, Scriptable obj, boolean keyOnly)(Code)(Java Doc)
public static double toNumber(Object val)(Code)(Java Doc)
public static double toNumber(Object[] args, int index)(Code)(Java Doc)
public static double toNumber(String s)(Code)(Java Doc)
public static Scriptable toObject(Scriptable scope, Object val)(Code)(Java Doc)
public static Scriptable toObject(Scriptable scope, Object val, Class staticClass)(Code)(Java Doc)
public static Scriptable toObject(Context cx, Scriptable scope, Object val)(Code)(Java Doc)
public static Scriptable toObject(Context cx, Scriptable scope, Object val, Class staticClass)(Code)(Java Doc)
public static Scriptable toObjectOrNull(Context cx, Object obj)(Code)(Java Doc)
public static String toString(Object val)(Code)(Java Doc)
public static String toString(Object[] args, int index)(Code)(Java Doc)
public static String toString(double val)(Code)(Java Doc)
public static char toUint16(Object val)(Code)(Java Doc)
public static long toUint32(double d)(Code)(Java Doc)
public static long toUint32(Object val)(Code)(Java Doc)
public static EcmaError typeError(String message)(Code)(Java Doc)
public static EcmaError typeError0(String messageId)(Code)(Java Doc)
public static EcmaError typeError1(String messageId, String arg1)(Code)(Java Doc)
public static EcmaError typeError2(String messageId, String arg1, String arg2)(Code)(Java Doc)
public static EcmaError typeError3(String messageId, String arg1, String arg2, String arg3)(Code)(Java Doc)
public static String typeof(Object value)(Code)(Java Doc)
public static String typeofName(Scriptable scope, String id)(Code)(Java Doc)
public static RuntimeException undefCallError(Object object, Object id)(Code)(Java Doc)
public static RuntimeException undefReadError(Object object, Object id)(Code)(Java Doc)
public static RuntimeException undefWriteError(Object object, Object id, Object value)(Code)(Java Doc)
public static Object updateDotQuery(boolean value, Scriptable scope)(Code)(Java Doc)
public static Boolean wrapBoolean(boolean b)(Code)(Java Doc)
public static Integer wrapInt(int i)(Code)(Java Doc)
public static Number wrapNumber(double x)(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.