Java Doc for JavascriptCompressor.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
      org.openlaszlo.sc.JavascriptGenerator
         org.openlaszlo.sc.JavascriptCompressor

JavascriptCompressor
public class JavascriptCompressor extends JavascriptGenerator (Code)




Method Summary
public  SimpleNodecompress(SimpleNode program)
    
 BooleanevaluateCompileTimeConditional(SimpleNode node)
    
public  SimpleNodevisitSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)
    



Method Detail
compress
public SimpleNode compress(SimpleNode program)(Code)



evaluateCompileTimeConditional
Boolean evaluateCompileTimeConditional(SimpleNode node)(Code)



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



Fields inherited from org.openlaszlo.sc.JavascriptGenerator
static LessHalfAssedHashMap AssignOpTable(Code)(Java Doc)
static LessHalfAssedHashMap XfixInstrs(Code)(Java Doc)
Set globals(Code)(Java Doc)
static java.util.regex.Pattern identifierPattern(Code)(Java Doc)
int tempNum(Code)(Java Doc)
public static Set uncheckedProperties(Code)(Java Doc)

Methods inherited from org.openlaszlo.sc.JavascriptGenerator
SimpleNode checkUndefinedFunction(SimpleNode node, JavascriptReference reference)(Code)(Java Doc)
SimpleNode checkUndefinedMethod(SimpleNode node, JavascriptReference reference, String methodName)(Code)(Java Doc)
boolean isExpressionType(SimpleNode node)(Code)(Java Doc)
public SimpleNode makeCheckedNode(SimpleNode node)(Code)(Java Doc)
SimpleNode meterFunctionEvent(SimpleNode node, String event, String name)(Code)(Java Doc)
public String newLabel(SimpleNode node)(Code)(Java Doc)
String newTemp()(Code)(Java Doc)
String newTemp(String prefix)(Code)(Java Doc)
SimpleNode noteCallSite(SimpleNode node)(Code)(Java Doc)
String report(String reportMethod, SimpleNode node, Object message)(Code)(Java Doc)
String report(String reportMethod, SimpleNode node, Object message, String extraArg)(Code)(Java Doc)
protected void setRuntime(String runtiem)(Code)(Java Doc)
void showStats(SimpleNode node)(Code)(Java Doc)
public SimpleNode translate(SimpleNode program)(Code)(Java Doc)
SimpleNode translateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label)(Code)(Java Doc)
SimpleNode translateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b)(Code)(Java Doc)
SimpleNode translateForInStatement(SimpleNode node, SimpleNode var, Instructions.Instruction varset, SimpleNode obj, SimpleNode body)(Code)(Java Doc)
SimpleNode translateForStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
SimpleNode translateFunction(SimpleNode node, boolean useName, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode[] translateFunctionCallParameters(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
SimpleNode[] translateFunctionInternal(SimpleNode node, boolean useName, SimpleNode[] children)(Code)(Java Doc)
SimpleNode translateInclude(String userfname, String cpass)(Code)(Java Doc)
SimpleNode translateInternal(SimpleNode program, String cpass, boolean top)(Code)(Java Doc)
SimpleNode translateLiteralNode(SimpleNode node)(Code)(Java Doc)
JavascriptReference translateReference(SimpleNode node)(Code)(Java Doc)
JavascriptReference translateReference(SimpleNode node, int referenceCount)(Code)(Java Doc)
SimpleNode translateReferenceForCall(SimpleNode ast)(Code)(Java Doc)
SimpleNode translateReferenceForCall(SimpleNode ast, boolean checkDefined, SimpleNode node)(Code)(Java Doc)
public void unwindEnumeration(SimpleNode node)(Code)(Java Doc)
public SimpleNode visitArrayLiteral(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitAssignmentExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitBinaryExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitConditionalExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitDoWhileStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitEmptyExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitExpression(SimpleNode node)(Code)(Java Doc)
public SimpleNode visitExpression(SimpleNode node, boolean isReferenced)(Code)(Java Doc)
public SimpleNode visitExpressionList(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitForInStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitForStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitForVarStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitFunctionCallParameters(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitFunctionDeclaration(SimpleNode node, SimpleNode[] ast)(Code)(Java Doc)
public SimpleNode visitFunctionExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitIdentifier(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitIfStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitLiteral(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitNewExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitObjectLiteral(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitPostfixExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitPrefixExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitProgram(SimpleNode node, SimpleNode[] directives, String cpass)(Code)(Java Doc)
public SimpleNode visitProgram(SimpleNode node, SimpleNode[] directives, String cpass, boolean top)(Code)(Java Doc)
public SimpleNode visitPropertyIdentifierReference(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitPropertyValueReference(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitReturnStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitSwitchStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitThisReference(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitThrowStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitTryStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitUnaryExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitVariableDeclaration(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitVariableStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitWhileStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitWithStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)

Fields inherited from org.openlaszlo.sc.CommonGenerator
static Set NonCodeGenerationOptions(Code)(Java Doc)
InstructionCollector collector(Code)(Java Doc)
TranslationContext context(Code)(Java Doc)
boolean debugVisit(Code)(Java Doc)
static java.util.regex.Pattern includePattern(Code)(Java Doc)
Compiler.OptionMap options(Code)(Java Doc)
String runtime(Code)(Java Doc)

Methods inherited from org.openlaszlo.sc.CommonGenerator
protected Integer UUID()(Code)(Java Doc)
public SimpleNode dispatchExpression(SimpleNode node, boolean isReferenced)(Code)(Java Doc)
Boolean evaluateCompileTimeConditional(SimpleNode node)(Code)(Java Doc)
String getCodeGenerationOptionsKey(List ignore)(Code)(Java Doc)
public InstructionCollector getCollector()(Code)(Java Doc)
public TranslationContext getContext()(Code)(Java Doc)
public Compiler.OptionMap getOptions()(Code)(Java Doc)
String includeFileToSourceString(File file, String userfname)(Code)(Java Doc)
File includeNameToFile(String userfname)(Code)(Java Doc)
boolean isExpressionType(SimpleNode node)(Code)(Java Doc)
ParseResult parseFile(File file, String userfname, String source)(Code)(Java Doc)
static SimpleNode parseFragment(String code)(Code)(Java Doc)
public void setOptions(Compiler.OptionMap options)(Code)(Java Doc)
abstract protected void setRuntime(String runtime)(Code)(Java Doc)
abstract void showStats(SimpleNode node)(Code)(Java Doc)
abstract SimpleNode translateAbruptCompletion(SimpleNode node, String type, ASTIdentifier label)(Code)(Java Doc)
abstract SimpleNode translateAndOrExpression(SimpleNode node, boolean isand, SimpleNode a, SimpleNode b)(Code)(Java Doc)
public void translateClassDirectivesBlock(SimpleNode[] dirs, String classnameString, List props, List classProps, List stmts)(Code)(Java Doc)
abstract SimpleNode translateForInStatement(SimpleNode node, SimpleNode var, Instructions.Instruction varset, SimpleNode obj, SimpleNode body)(Code)(Java Doc)
public SimpleNode translateSuperCallExpression(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitAndExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitBreakStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitChildren(SimpleNode node)(Code)(Java Doc)
public SimpleNode visitClassDefinition(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitContinueStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitDirectiveBlock(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitForVarInStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitIfDirective(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitLabeledStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitModifiedDefinition(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitOrExpressionSequence(SimpleNode node, boolean isReferenced, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitPragmaDirective(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitStatement(SimpleNode node)(Code)(Java Doc)
public SimpleNode visitStatement(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitStatementList(SimpleNode node, SimpleNode[] stmts)(Code)(Java Doc)
public SimpleNode visitVariableDeclarationList(SimpleNode node, SimpleNode[] children)(Code)(Java Doc)
public SimpleNode visitVariableStatement(SimpleNode node, SimpleNode[] children)(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.