Java Doc for CommonGenerator.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » sc » 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 » Laszlo 4.0.10 » org.openlaszlo.sc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openlaszlo.sc.CommonGenerator

All known Subclasses:   org.openlaszlo.sc.CodeGenerator,  org.openlaszlo.sc.JavascriptGenerator,
CommonGenerator
abstract public class CommonGenerator implements ASTVisitor(Code)

Inner Class :static class LessHalfAssedHashMap extends HashMap
Inner Class :static class ParseResult
Inner Class :static class DoubleCollator implements Comparator

Field Summary
static  SetNonCodeGenerationOptions
    
 InstructionCollectorcollector
    
 TranslationContextcontext
    
 booleandebugVisit
    
static  java.util.regex.PatternincludePattern
    
 Compiler.OptionMapoptions
    
 Stringruntime
    


Method Summary
protected  IntegerUUID()
    
public  SimpleNodedispatchExpression(SimpleNode node, boolean isReferenced)
    
 BooleanevaluateCompileTimeConditional(SimpleNode node)
    
 StringgetCodeGenerationOptionsKey(List ignore)
    
public  InstructionCollectorgetCollector()
    
public  TranslationContextgetContext()
    
public  Compiler.OptionMapgetOptions()
    
 StringincludeFileToSourceString(File file, String userfname)
    
 FileincludeNameToFile(String userfname)
    
 booleanisExpressionType(SimpleNode node)
    
 ParseResultparseFile(File file, String userfname, String source)
    
static  SimpleNodeparseFragment(String code)
    
public  voidsetOptions(Compiler.OptionMap options)
    
abstract protected  voidsetRuntime(String runtime)
    
abstract  voidshowStats(SimpleNode node)
     Collect runtime statistics at this point in the program if asked for.
abstract  SimpleNodetranslateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label)
    
abstract  SimpleNodetranslateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b)
    
public  voidtranslateClassDirectivesBlock(SimpleNode[] dirs, String classnameString, List props, List classProps, List stmts)
    
abstract  SimpleNodetranslateForInStatement(SimpleNode node, SimpleNode var, Instructions.Instruction varset, SimpleNode obj, SimpleNode body)
    
public  SimpleNodetranslateSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)
    
public  SimpleNodevisitAndExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)
    
public  SimpleNodevisitBreakStatement(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitChildren(SimpleNode node)
    
public  SimpleNodevisitClassDefinition(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitContinueStatement(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitDirectiveBlock(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitForVarInStatement(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitIfDirective(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitLabeledStatement(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitModifiedDefinition(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitOrExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)
    
public  SimpleNodevisitPragmaDirective(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitStatement(SimpleNode node)
    
public  SimpleNodevisitStatement(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitStatementList(SimpleNode node, SimpleNode[] stmts)
    
public  SimpleNodevisitVariableDeclarationList(SimpleNode node, SimpleNode[] children)
    
public  SimpleNodevisitVariableStatement(SimpleNode node, SimpleNode[] children)
    

Field Detail
NonCodeGenerationOptions
static Set NonCodeGenerationOptions(Code)



collector
InstructionCollector collector(Code)



context
TranslationContext context(Code)



debugVisit
boolean debugVisit(Code)



includePattern
static java.util.regex.Pattern includePattern(Code)



options
Compiler.OptionMap options(Code)



runtime
String runtime(Code)





Method Detail
UUID
protected Integer UUID()(Code)



dispatchExpression
public SimpleNode dispatchExpression(SimpleNode node, boolean isReferenced)(Code)



evaluateCompileTimeConditional
Boolean evaluateCompileTimeConditional(SimpleNode node)(Code)



getCodeGenerationOptionsKey
String getCodeGenerationOptionsKey(List ignore)(Code)



getCollector
public InstructionCollector getCollector()(Code)



getContext
public TranslationContext getContext()(Code)



getOptions
public Compiler.OptionMap getOptions()(Code)



includeFileToSourceString
String includeFileToSourceString(File file, String userfname)(Code)



includeNameToFile
File includeNameToFile(String userfname)(Code)



isExpressionType
boolean isExpressionType(SimpleNode node)(Code)



parseFile
ParseResult parseFile(File file, String userfname, String source)(Code)



parseFragment
static SimpleNode parseFragment(String code)(Code)



setOptions
public void setOptions(Compiler.OptionMap options)(Code)



setRuntime
abstract protected void setRuntime(String runtime)(Code)



showStats
abstract void showStats(SimpleNode node)(Code)
Collect runtime statistics at this point in the program if asked for.



translateAbruptCompletion
abstract SimpleNode translateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label)(Code)



translateAndOrExpression
abstract SimpleNode translateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b)(Code)



translateClassDirectivesBlock
public void translateClassDirectivesBlock(SimpleNode[] dirs, String classnameString, List props, List classProps, List stmts)(Code)



translateForInStatement
abstract SimpleNode translateForInStatement(SimpleNode node, SimpleNode var, Instructions.Instruction varset, SimpleNode obj, SimpleNode body)(Code)



translateSuperCallExpression
public SimpleNode translateSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)



visitAndExpressionSequence
public SimpleNode visitAndExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)



visitBreakStatement
public SimpleNode visitBreakStatement(SimpleNode node, SimpleNode[] children)(Code)



visitChildren
public SimpleNode visitChildren(SimpleNode node)(Code)



visitClassDefinition
public SimpleNode visitClassDefinition(SimpleNode node, SimpleNode[] children)(Code)



visitContinueStatement
public SimpleNode visitContinueStatement(SimpleNode node, SimpleNode[] children)(Code)



visitDirectiveBlock
public SimpleNode visitDirectiveBlock(SimpleNode node, SimpleNode[] children)(Code)



visitForVarInStatement
public SimpleNode visitForVarInStatement(SimpleNode node, SimpleNode[] children)(Code)



visitIfDirective
public SimpleNode visitIfDirective(SimpleNode node, SimpleNode[] children)(Code)



visitLabeledStatement
public SimpleNode visitLabeledStatement(SimpleNode node, SimpleNode[] children)(Code)



visitModifiedDefinition
public SimpleNode visitModifiedDefinition(SimpleNode node, SimpleNode[] children)(Code)



visitOrExpressionSequence
public SimpleNode visitOrExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)



visitPragmaDirective
public SimpleNode visitPragmaDirective(SimpleNode node, SimpleNode[] children)(Code)



visitStatement
public SimpleNode visitStatement(SimpleNode node)(Code)



visitStatement
public SimpleNode visitStatement(SimpleNode node, SimpleNode[] children)(Code)



visitStatementList
public SimpleNode visitStatementList(SimpleNode node, SimpleNode[] stmts)(Code)



visitVariableDeclarationList
public SimpleNode visitVariableDeclarationList(SimpleNode node, SimpleNode[] children)(Code)



visitVariableStatement
public SimpleNode visitVariableStatement(SimpleNode node, SimpleNode[] children)(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.