Java Doc for UnparseVisitor.java in  » Scripting » jacl » org » codehaus » janino » 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 » jacl » org.codehaus.janino 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.codehaus.janino.UnparseVisitor

UnparseVisitor
public class UnparseVisitor implements Visitor.ComprehensiveVisitor(Code)
A visitor that unparses (un-compiles) an AST to a Writer . See UnparseVisitor.main(String[]) for a usage example.



Constructor Summary
public  UnparseVisitor(Writer w)
    

Method Summary
public static  voidmain(String[] args)
     Testing of parsing/unparsing.
public static  voidunparse(Java.CompilationUnit cu, Writer w)
     Unparse the given Java.CompilationUnit to the given Writer .
public  voidunparseCompilationUnit(Java.CompilationUnit cu)
    
public  voidunparseFormalParameter(Java.FunctionDeclarator.FormalParameter fp)
    
public  voidunparseVariableDeclarator(Java.VariableDeclarator vd)
    
public  voidvisitAlternateConstructorInvocation(Java.AlternateConstructorInvocation aci)
    
public  voidvisitAmbiguousName(Java.AmbiguousName an)
    
public  voidvisitAnonymousClassDeclaration(Java.AnonymousClassDeclaration acd)
    
public  voidvisitArrayAccessExpression(Java.ArrayAccessExpression aae)
    
public  voidvisitArrayLength(Java.ArrayLength al)
    
public  voidvisitArrayType(Java.ArrayType at)
    
public  voidvisitAssignment(Java.Assignment a)
    
public  voidvisitBasicType(Java.BasicType bt)
    
public  voidvisitBinaryOperation(Java.BinaryOperation bo)
    
public  voidvisitBlock(Java.Block b)
    
public  voidvisitBreakStatement(Java.BreakStatement bs)
    
public  voidvisitCast(Java.Cast c)
    
public  voidvisitClassLiteral(Java.ClassLiteral cl)
    
public  voidvisitConditionalExpression(Java.ConditionalExpression ce)
    
public  voidvisitConstantValue(Java.ConstantValue cv)
    
public  voidvisitConstructorDeclarator(Java.ConstructorDeclarator cd)
    
public  voidvisitContinueStatement(Java.ContinueStatement cs)
    
public  voidvisitCrement(Java.Crement c)
    
public  voidvisitDoStatement(Java.DoStatement ds)
    
public  voidvisitEmptyStatement(Java.EmptyStatement es)
    
public  voidvisitExpressionStatement(Java.ExpressionStatement es)
    
public  voidvisitFieldAccess(Java.FieldAccess fa)
    
public  voidvisitFieldAccessExpression(Java.FieldAccessExpression fae)
    
public  voidvisitFieldDeclaration(Java.FieldDeclaration fd)
    
public  voidvisitForStatement(Java.ForStatement fs)
    
public  voidvisitIfStatement(Java.IfStatement is)
    
public  voidvisitInitializer(Java.Initializer i)
    
public  voidvisitInstanceof(Java.Instanceof io)
    
public  voidvisitLabeledStatement(Java.LabeledStatement ls)
    
public  voidvisitLiteral(Java.Literal l)
    
public  voidvisitLocalClassDeclaration(Java.LocalClassDeclaration lcd)
    
public  voidvisitLocalClassDeclarationStatement(Java.LocalClassDeclarationStatement lcds)
    
public  voidvisitLocalVariableAccess(Java.LocalVariableAccess lva)
    
public  voidvisitLocalVariableDeclarationStatement(Java.LocalVariableDeclarationStatement lvds)
    
public  voidvisitMemberClassDeclaration(Java.MemberClassDeclaration mcd)
    
public  voidvisitMemberInterfaceDeclaration(Java.MemberInterfaceDeclaration mid)
    
public  voidvisitMethodDeclarator(Java.MethodDeclarator md)
    
public  voidvisitMethodInvocation(Java.MethodInvocation mi)
    
public  voidvisitNewAnonymousClassInstance(Java.NewAnonymousClassInstance naci)
    
public  voidvisitNewArray(Java.NewArray na)
    
public  voidvisitNewClassInstance(Java.NewClassInstance nci)
    
public  voidvisitNewInitializedArray(Java.NewInitializedArray nai)
    
public  voidvisitPackage(Java.Package p)
    
public  voidvisitPackageMemberClassDeclaration(Java.PackageMemberClassDeclaration pmcd)
    
public  voidvisitPackageMemberInterfaceDeclaration(Java.PackageMemberInterfaceDeclaration pmid)
    
public  voidvisitParameterAccess(Java.ParameterAccess pa)
    
public  voidvisitParenthesizedExpression(Java.ParenthesizedExpression pe)
    
public  voidvisitQualifiedThisReference(Java.QualifiedThisReference qtr)
    
public  voidvisitReferenceType(Java.ReferenceType rt)
    
public  voidvisitReturnStatement(Java.ReturnStatement rs)
    
public  voidvisitRvalueMemberType(Java.RvalueMemberType rmt)
    
public  voidvisitSimpleType(Java.SimpleType st)
    
public  voidvisitSingleTypeImportDeclaration(Java.CompilationUnit.SingleTypeImportDeclaration stid)
    
public  voidvisitSuperConstructorInvocation(Java.SuperConstructorInvocation sci)
    
public  voidvisitSuperclassMethodInvocation(Java.SuperclassMethodInvocation smi)
    
public  voidvisitSwitchStatement(Java.SwitchStatement ss)
    
public  voidvisitSynchronizedStatement(Java.SynchronizedStatement ss)
    
public  voidvisitThisReference(Java.ThisReference tr)
    
public  voidvisitThrowStatement(Java.ThrowStatement ts)
    
public  voidvisitTryStatement(Java.TryStatement ts)
    
public  voidvisitTypeImportOnDemandDeclaration(Java.CompilationUnit.TypeImportOnDemandDeclaration tiodd)
    
public  voidvisitUnaryOperation(Java.UnaryOperation uo)
    
public  voidvisitWhileStatement(Java.WhileStatement ws)
    


Constructor Detail
UnparseVisitor
public UnparseVisitor(Writer w)(Code)




Method Detail
main
public static void main(String[] args) throws Exception(Code)
Testing of parsing/unparsing.

Reads compilation units from the files named on the command line and unparses them to System.out .




unparse
public static void unparse(Java.CompilationUnit cu, Writer w)(Code)
Unparse the given Java.CompilationUnit to the given Writer .



unparseCompilationUnit
public void unparseCompilationUnit(Java.CompilationUnit cu)(Code)



unparseFormalParameter
public void unparseFormalParameter(Java.FunctionDeclarator.FormalParameter fp)(Code)



unparseVariableDeclarator
public void unparseVariableDeclarator(Java.VariableDeclarator vd)(Code)



visitAlternateConstructorInvocation
public void visitAlternateConstructorInvocation(Java.AlternateConstructorInvocation aci)(Code)



visitAmbiguousName
public void visitAmbiguousName(Java.AmbiguousName an)(Code)



visitAnonymousClassDeclaration
public void visitAnonymousClassDeclaration(Java.AnonymousClassDeclaration acd)(Code)



visitArrayAccessExpression
public void visitArrayAccessExpression(Java.ArrayAccessExpression aae)(Code)



visitArrayLength
public void visitArrayLength(Java.ArrayLength al)(Code)



visitArrayType
public void visitArrayType(Java.ArrayType at)(Code)



visitAssignment
public void visitAssignment(Java.Assignment a)(Code)



visitBasicType
public void visitBasicType(Java.BasicType bt)(Code)



visitBinaryOperation
public void visitBinaryOperation(Java.BinaryOperation bo)(Code)



visitBlock
public void visitBlock(Java.Block b)(Code)



visitBreakStatement
public void visitBreakStatement(Java.BreakStatement bs)(Code)



visitCast
public void visitCast(Java.Cast c)(Code)



visitClassLiteral
public void visitClassLiteral(Java.ClassLiteral cl)(Code)



visitConditionalExpression
public void visitConditionalExpression(Java.ConditionalExpression ce)(Code)



visitConstantValue
public void visitConstantValue(Java.ConstantValue cv)(Code)



visitConstructorDeclarator
public void visitConstructorDeclarator(Java.ConstructorDeclarator cd)(Code)



visitContinueStatement
public void visitContinueStatement(Java.ContinueStatement cs)(Code)



visitCrement
public void visitCrement(Java.Crement c)(Code)



visitDoStatement
public void visitDoStatement(Java.DoStatement ds)(Code)



visitEmptyStatement
public void visitEmptyStatement(Java.EmptyStatement es)(Code)



visitExpressionStatement
public void visitExpressionStatement(Java.ExpressionStatement es)(Code)



visitFieldAccess
public void visitFieldAccess(Java.FieldAccess fa)(Code)



visitFieldAccessExpression
public void visitFieldAccessExpression(Java.FieldAccessExpression fae)(Code)



visitFieldDeclaration
public void visitFieldDeclaration(Java.FieldDeclaration fd)(Code)



visitForStatement
public void visitForStatement(Java.ForStatement fs)(Code)



visitIfStatement
public void visitIfStatement(Java.IfStatement is)(Code)



visitInitializer
public void visitInitializer(Java.Initializer i)(Code)



visitInstanceof
public void visitInstanceof(Java.Instanceof io)(Code)



visitLabeledStatement
public void visitLabeledStatement(Java.LabeledStatement ls)(Code)



visitLiteral
public void visitLiteral(Java.Literal l)(Code)



visitLocalClassDeclaration
public void visitLocalClassDeclaration(Java.LocalClassDeclaration lcd)(Code)



visitLocalClassDeclarationStatement
public void visitLocalClassDeclarationStatement(Java.LocalClassDeclarationStatement lcds)(Code)



visitLocalVariableAccess
public void visitLocalVariableAccess(Java.LocalVariableAccess lva)(Code)



visitLocalVariableDeclarationStatement
public void visitLocalVariableDeclarationStatement(Java.LocalVariableDeclarationStatement lvds)(Code)



visitMemberClassDeclaration
public void visitMemberClassDeclaration(Java.MemberClassDeclaration mcd)(Code)



visitMemberInterfaceDeclaration
public void visitMemberInterfaceDeclaration(Java.MemberInterfaceDeclaration mid)(Code)



visitMethodDeclarator
public void visitMethodDeclarator(Java.MethodDeclarator md)(Code)



visitMethodInvocation
public void visitMethodInvocation(Java.MethodInvocation mi)(Code)



visitNewAnonymousClassInstance
public void visitNewAnonymousClassInstance(Java.NewAnonymousClassInstance naci)(Code)



visitNewArray
public void visitNewArray(Java.NewArray na)(Code)



visitNewClassInstance
public void visitNewClassInstance(Java.NewClassInstance nci)(Code)



visitNewInitializedArray
public void visitNewInitializedArray(Java.NewInitializedArray nai)(Code)



visitPackage
public void visitPackage(Java.Package p)(Code)



visitPackageMemberClassDeclaration
public void visitPackageMemberClassDeclaration(Java.PackageMemberClassDeclaration pmcd)(Code)



visitPackageMemberInterfaceDeclaration
public void visitPackageMemberInterfaceDeclaration(Java.PackageMemberInterfaceDeclaration pmid)(Code)



visitParameterAccess
public void visitParameterAccess(Java.ParameterAccess pa)(Code)



visitParenthesizedExpression
public void visitParenthesizedExpression(Java.ParenthesizedExpression pe)(Code)



visitQualifiedThisReference
public void visitQualifiedThisReference(Java.QualifiedThisReference qtr)(Code)



visitReferenceType
public void visitReferenceType(Java.ReferenceType rt)(Code)



visitReturnStatement
public void visitReturnStatement(Java.ReturnStatement rs)(Code)



visitRvalueMemberType
public void visitRvalueMemberType(Java.RvalueMemberType rmt)(Code)



visitSimpleType
public void visitSimpleType(Java.SimpleType st)(Code)



visitSingleTypeImportDeclaration
public void visitSingleTypeImportDeclaration(Java.CompilationUnit.SingleTypeImportDeclaration stid)(Code)



visitSuperConstructorInvocation
public void visitSuperConstructorInvocation(Java.SuperConstructorInvocation sci)(Code)



visitSuperclassMethodInvocation
public void visitSuperclassMethodInvocation(Java.SuperclassMethodInvocation smi)(Code)



visitSwitchStatement
public void visitSwitchStatement(Java.SwitchStatement ss)(Code)



visitSynchronizedStatement
public void visitSynchronizedStatement(Java.SynchronizedStatement ss)(Code)



visitThisReference
public void visitThisReference(Java.ThisReference tr)(Code)



visitThrowStatement
public void visitThrowStatement(Java.ThrowStatement ts)(Code)



visitTryStatement
public void visitTryStatement(Java.TryStatement ts)(Code)



visitTypeImportOnDemandDeclaration
public void visitTypeImportOnDemandDeclaration(Java.CompilationUnit.TypeImportOnDemandDeclaration tiodd)(Code)



visitUnaryOperation
public void visitUnaryOperation(Java.UnaryOperation uo)(Code)



visitWhileStatement
public void visitWhileStatement(Java.WhileStatement ws)(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.