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 void
main
(
String
[] args)
Testing of parsing/unparsing.
public
static void
unparse
(
Java.CompilationUnit
cu,
Writer
w)
Unparse the given
Java.CompilationUnit
to the given
Writer
.
public
void
unparseCompilationUnit
(
Java.CompilationUnit
cu)
public
void
unparseFormalParameter
(
Java.FunctionDeclarator.FormalParameter
fp)
public
void
unparseVariableDeclarator
(
Java.VariableDeclarator
vd)
public
void
visitAlternateConstructorInvocation
(
Java.AlternateConstructorInvocation
aci)
public
void
visitAmbiguousName
(
Java.AmbiguousName
an)
public
void
visitAnonymousClassDeclaration
(
Java.AnonymousClassDeclaration
acd)
public
void
visitArrayAccessExpression
(
Java.ArrayAccessExpression
aae)
public
void
visitArrayLength
(
Java.ArrayLength
al)
public
void
visitArrayType
(
Java.ArrayType
at)
public
void
visitAssignment
(
Java.Assignment
a)
public
void
visitBasicType
(
Java.BasicType
bt)
public
void
visitBinaryOperation
(
Java.BinaryOperation
bo)
public
void
visitBlock
(
Java.Block
b)
public
void
visitBreakStatement
(
Java.BreakStatement
bs)
public
void
visitCast
(
Java.Cast
c)
public
void
visitClassLiteral
(
Java.ClassLiteral
cl)
public
void
visitConditionalExpression
(
Java.ConditionalExpression
ce)
public
void
visitConstantValue
(
Java.ConstantValue
cv)
public
void
visitConstructorDeclarator
(
Java.ConstructorDeclarator
cd)
public
void
visitContinueStatement
(
Java.ContinueStatement
cs)
public
void
visitCrement
(
Java.Crement
c)
public
void
visitDoStatement
(
Java.DoStatement
ds)
public
void
visitEmptyStatement
(
Java.EmptyStatement
es)
public
void
visitExpressionStatement
(
Java.ExpressionStatement
es)
public
void
visitFieldAccess
(
Java.FieldAccess
fa)
public
void
visitFieldAccessExpression
(
Java.FieldAccessExpression
fae)
public
void
visitFieldDeclaration
(
Java.FieldDeclaration
fd)
public
void
visitForStatement
(
Java.ForStatement
fs)
public
void
visitIfStatement
(
Java.IfStatement
is)
public
void
visitInitializer
(
Java.Initializer
i)
public
void
visitInstanceof
(
Java.Instanceof
io)
public
void
visitLabeledStatement
(
Java.LabeledStatement
ls)
public
void
visitLiteral
(
Java.Literal
l)
public
void
visitLocalClassDeclaration
(
Java.LocalClassDeclaration
lcd)
public
void
visitLocalClassDeclarationStatement
(
Java.LocalClassDeclarationStatement
lcds)
public
void
visitLocalVariableAccess
(
Java.LocalVariableAccess
lva)
public
void
visitLocalVariableDeclarationStatement
(
Java.LocalVariableDeclarationStatement
lvds)
public
void
visitMemberClassDeclaration
(
Java.MemberClassDeclaration
mcd)
public
void
visitMemberInterfaceDeclaration
(
Java.MemberInterfaceDeclaration
mid)
public
void
visitMethodDeclarator
(
Java.MethodDeclarator
md)
public
void
visitMethodInvocation
(
Java.MethodInvocation
mi)
public
void
visitNewAnonymousClassInstance
(
Java.NewAnonymousClassInstance
naci)
public
void
visitNewArray
(
Java.NewArray
na)
public
void
visitNewClassInstance
(
Java.NewClassInstance
nci)
public
void
visitNewInitializedArray
(
Java.NewInitializedArray
nai)
public
void
visitPackage
(
Java.Package
p)
public
void
visitPackageMemberClassDeclaration
(
Java.PackageMemberClassDeclaration
pmcd)
public
void
visitPackageMemberInterfaceDeclaration
(
Java.PackageMemberInterfaceDeclaration
pmid)
public
void
visitParameterAccess
(
Java.ParameterAccess
pa)
public
void
visitParenthesizedExpression
(
Java.ParenthesizedExpression
pe)
public
void
visitQualifiedThisReference
(
Java.QualifiedThisReference
qtr)
public
void
visitReferenceType
(
Java.ReferenceType
rt)
public
void
visitReturnStatement
(
Java.ReturnStatement
rs)
public
void
visitRvalueMemberType
(
Java.RvalueMemberType
rmt)
public
void
visitSimpleType
(
Java.SimpleType
st)
public
void
visitSingleTypeImportDeclaration
(
Java.CompilationUnit.SingleTypeImportDeclaration
stid)
public
void
visitSuperConstructorInvocation
(
Java.SuperConstructorInvocation
sci)
public
void
visitSuperclassMethodInvocation
(
Java.SuperclassMethodInvocation
smi)
public
void
visitSwitchStatement
(
Java.SwitchStatement
ss)
public
void
visitSynchronizedStatement
(
Java.SynchronizedStatement
ss)
public
void
visitThisReference
(
Java.ThisReference
tr)
public
void
visitThrowStatement
(
Java.ThrowStatement
ts)
public
void
visitTryStatement
(
Java.TryStatement
ts)
public
void
visitTypeImportOnDemandDeclaration
(
Java.CompilationUnit.TypeImportOnDemandDeclaration
tiodd)
public
void
visitUnaryOperation
(
Java.UnaryOperation
uo)
public
void
visitWhileStatement
(
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.