Java Doc for IRFactory.java in  » Ajax » GWT » com » google » gwt » dev » js » rhino » 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 » Ajax » GWT » com.google.gwt.dev.js.rhino 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.google.gwt.dev.js.rhino.IRFactory

IRFactory
public class IRFactory (Code)
This class allows the creation of nodes, and follows the Factory pattern.
See Also:   Node
author:
   Mike McCabe
author:
   Norris Boyd



Constructor Summary
public  IRFactory(TokenStream ts)
    

Method Summary
public  voidaddChildToBack(Object parent, Object child)
     Add a child to the back of the given node.
public  ObjectcreateArrayLiteral(Object obj)
    
public  ObjectcreateAssignment(int nodeOp, Node left, Node right, Class convert, boolean postfix)
    
public  ObjectcreateBinary(int nodeType, Object left, Object right)
    
public  ObjectcreateBinary(int nodeType, int nodeOp, Object left, Object right)
    
public  ObjectcreateBlock(int lineno)
    
public  ObjectcreateBreak(String label, int lineno)
    
public  ObjectcreateCatch(String varName, Object catchCond, Object stmts, int lineno)
    
public  ObjectcreateContinue(String label, int lineno)
    
public  ObjectcreateDebugger(int lineno)
    
public  ObjectcreateDoWhile(Object body, Object cond, int lineno)
    
public  ObjectcreateExprStatement(Object expr, int lineno)
    
public  ObjectcreateFor(Object init, Object test, Object incr, Object body, int lineno)
    
public  ObjectcreateForIn(Object lhs, Object obj, Object body, int lineno)
     For ..
public  ObjectcreateFunction(String name, Object args, Object statements, String sourceName, int baseLineno, int endLineno, Object source, boolean isExpr)
    
public  ObjectcreateIf(Object cond, Object ifTrue, Object ifFalse, int lineno)
    
public  ObjectcreateLabel(String label, int lineno)
    
public  ObjectcreateLeaf(int nodeType)
    
public  ObjectcreateLeaf(int nodeType, int nodeOp)
    
public  ObjectcreateName(String name)
    
public  ObjectcreateNumber(double number)
    
public  ObjectcreateObjectLiteral(Object obj)
    
public  ObjectcreateRegExp(String string, String flags)
    
public  ObjectcreateReturn(Object expr, int lineno)
    
public  ObjectcreateScript(Object body, String sourceName, int baseLineno, int endLineno, Object source)
    
public  ObjectcreateString(String string)
    
public  ObjectcreateSwitch(int lineno)
     Statement leaf nodes.
public  ObjectcreateTernary(Object cond, Object ifTrue, Object ifFalse)
    
public  ObjectcreateThrow(Object expr, int lineno)
    
public  ObjectcreateTryCatchFinally(Object tryblock, Object catchblocks, Object finallyblock, int lineno)
    
public  ObjectcreateUnary(int nodeType, Object child)
    
public  ObjectcreateUnary(int nodeType, int nodeOp, Object child)
    
public  ObjectcreateVariables(int lineno)
    
public  ObjectcreateWhile(Object cond, Object body, int lineno)
    
public  ObjectcreateWith(Object obj, Object body, int lineno)
    
public  intgetLeafType(Object leaf)
    
public static  booleanhasSideEffects(Node exprTree)
    


Constructor Detail
IRFactory
public IRFactory(TokenStream ts)(Code)




Method Detail
addChildToBack
public void addChildToBack(Object parent, Object child)(Code)
Add a child to the back of the given node. This function breaks the Factory abstraction, but it removes a requirement from implementors of Node.



createArrayLiteral
public Object createArrayLiteral(Object obj)(Code)
Array Literal



createAssignment
public Object createAssignment(int nodeOp, Node left, Node right, Class convert, boolean postfix)(Code)



createBinary
public Object createBinary(int nodeType, Object left, Object right)(Code)
Binary



createBinary
public Object createBinary(int nodeType, int nodeOp, Object left, Object right)(Code)



createBlock
public Object createBlock(int lineno)(Code)
Statement block Creates the empty statement block Must make subsequent calls to add statements to the node



createBreak
public Object createBreak(String label, int lineno)(Code)
Break (possibly labeled)



createCatch
public Object createCatch(String varName, Object catchCond, Object stmts, int lineno)(Code)
Catch clause of try/catch/finally
Parameters:
  varName - the name of the variable to bind to the exception
Parameters:
  catchCond - the condition under which to catch the exception.May be null if no condition is given.
Parameters:
  stmts - the statements in the catch clause
Parameters:
  lineno - the starting line number of the catch clause



createContinue
public Object createContinue(String label, int lineno)(Code)
Continue (possibly labeled)



createDebugger
public Object createDebugger(int lineno)(Code)
debugger



createDoWhile
public Object createDoWhile(Object body, Object cond, int lineno)(Code)
DoWhile



createExprStatement
public Object createExprStatement(Object expr, int lineno)(Code)



createFor
public Object createFor(Object init, Object test, Object incr, Object body, int lineno)(Code)
For



createForIn
public Object createForIn(Object lhs, Object obj, Object body, int lineno)(Code)
For .. In



createFunction
public Object createFunction(String name, Object args, Object statements, String sourceName, int baseLineno, int endLineno, Object source, boolean isExpr)(Code)



createIf
public Object createIf(Object cond, Object ifTrue, Object ifFalse, int lineno)(Code)
If statement



createLabel
public Object createLabel(String label, int lineno)(Code)
Label



createLeaf
public Object createLeaf(int nodeType)(Code)
Leaf



createLeaf
public Object createLeaf(int nodeType, int nodeOp)(Code)



createName
public Object createName(String name)(Code)
Name



createNumber
public Object createNumber(double number)(Code)
Number (for literals)



createObjectLiteral
public Object createObjectLiteral(Object obj)(Code)
Object Literals



createRegExp
public Object createRegExp(String string, String flags)(Code)
Regular expressions



createReturn
public Object createReturn(Object expr, int lineno)(Code)
Return



createScript
public Object createScript(Object body, String sourceName, int baseLineno, int endLineno, Object source)(Code)
Script (for associating file/url names with toplevel scripts.)



createString
public Object createString(String string)(Code)
String (for literals)



createSwitch
public Object createSwitch(int lineno)(Code)
Statement leaf nodes.



createTernary
public Object createTernary(Object cond, Object ifTrue, Object ifFalse)(Code)



createThrow
public Object createThrow(Object expr, int lineno)(Code)
Throw



createTryCatchFinally
public Object createTryCatchFinally(Object tryblock, Object catchblocks, Object finallyblock, int lineno)(Code)
Try/Catch/Finally



createUnary
public Object createUnary(int nodeType, Object child)(Code)
Unary



createUnary
public Object createUnary(int nodeType, int nodeOp, Object child)(Code)



createVariables
public Object createVariables(int lineno)(Code)



createWhile
public Object createWhile(Object cond, Object body, int lineno)(Code)
While



createWith
public Object createWith(Object obj, Object body, int lineno)(Code)
With



getLeafType
public int getLeafType(Object leaf)(Code)



hasSideEffects
public static boolean hasSideEffects(Node exprTree)(Code)



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.