Java Doc for IdentityVisitor.java in  » IDE » DrJava » edu » rice » cs » drjava » model » repl » 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 » IDE » DrJava » edu.rice.cs.drjava.model.repl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.rice.cs.drjava.model.repl.IdentityVisitor

IdentityVisitor
public class IdentityVisitor implements Visitor<Node>(Code)
This class visits each node and each node's members, recursively walking the syntax tree, returning the identical node back for each case. Note that Try, Catch, and ArrayAllocation statements return a new Node with the same fields because they did not appear to have all of the necessary setters.
version:
   $Id: IdentityVisitor.java 4255 2007-08-28 19:17:37Z mgricken $




Method Summary
public  Nodevisit(PackageDeclaration node)
    
public  Nodevisit(ImportDeclaration node)
    
public  Nodevisit(EmptyStatement node)
    
public  Nodevisit(WhileStatement node)
    
public  Nodevisit(ForStatement node)
    
public  Nodevisit(ForEachStatement node)
    
public  Nodevisit(DoStatement node)
    
public  Nodevisit(SwitchStatement node)
    
public  Nodevisit(SwitchBlock node)
    
public  Nodevisit(LabeledStatement node)
    
public  Nodevisit(BreakStatement node)
    
public  Nodevisit(TryStatement node)
    
public  Nodevisit(CatchStatement node)
    
public  Nodevisit(ThrowStatement node)
    
public  Nodevisit(ReturnStatement node)
    
public  Nodevisit(SynchronizedStatement node)
    
public  Nodevisit(ContinueStatement node)
    
public  Nodevisit(IfThenStatement node)
    
public  Nodevisit(IfThenElseStatement node)
    
public  Nodevisit(AssertStatement node)
    
public  Nodevisit(Literal node)
    
public  Nodevisit(ThisExpression node)
    
public  Nodevisit(QualifiedName node)
    
public  Nodevisit(ObjectFieldAccess node)
    
public  Nodevisit(StaticFieldAccess node)
    
public  Nodevisit(ArrayAccess node)
    
public  Nodevisit(SuperFieldAccess node)
    
public  Nodevisit(ObjectMethodCall node)
    
public  Nodevisit(FunctionCall node)
    
public  Nodevisit(StaticMethodCall node)
    
public  Nodevisit(ConstructorInvocation node)
    
public  Nodevisit(SuperMethodCall node)
    
public  Nodevisit(PrimitiveType node)
    
public  Nodevisit(ReferenceType node)
    
public  Nodevisit(ArrayType node)
    
public  Nodevisit(TypeExpression node)
    
public  Nodevisit(PostIncrement node)
    
public  Nodevisit(PostDecrement node)
    
public  Nodevisit(PreIncrement node)
    
public  Nodevisit(PreDecrement node)
    
public  Nodevisit(ArrayInitializer node)
    
public  Nodevisit(ArrayAllocation node)
     Visits an ArrayAllocation, check me on this one.
public  Nodevisit(SimpleAllocation node)
    
public  Nodevisit(ClassAllocation node)
    
public  Nodevisit(InnerAllocation node)
    
public  Nodevisit(InnerClassAllocation node)
    
public  Nodevisit(CastExpression node)
    
public  Nodevisit(NotExpression node)
    
public  Nodevisit(ComplementExpression node)
    
public  Nodevisit(PlusExpression node)
    
public  Nodevisit(MinusExpression node)
    
public  Nodevisit(MultiplyExpression node)
    
public  Nodevisit(DivideExpression node)
    
public  Nodevisit(RemainderExpression node)
    
public  Nodevisit(AddExpression node)
    
public  Nodevisit(SubtractExpression node)
    
public  Nodevisit(ShiftLeftExpression node)
    
public  Nodevisit(ShiftRightExpression node)
    
public  Nodevisit(UnsignedShiftRightExpression node)
    
public  Nodevisit(LessExpression node)
    
public  Nodevisit(GreaterExpression node)
    
public  Nodevisit(LessOrEqualExpression node)
    
public  Nodevisit(GreaterOrEqualExpression node)
    
public  Nodevisit(InstanceOfExpression node)
    
public  Nodevisit(EqualExpression node)
    
public  Nodevisit(NotEqualExpression node)
    
public  Nodevisit(BitAndExpression node)
    
public  Nodevisit(ExclusiveOrExpression node)
    
public  Nodevisit(BitOrExpression node)
    
public  Nodevisit(AndExpression node)
    
public  Nodevisit(OrExpression node)
    
public  Nodevisit(ConditionalExpression node)
    
public  Nodevisit(SimpleAssignExpression node)
    
public  Nodevisit(MultiplyAssignExpression node)
    
public  Nodevisit(DivideAssignExpression node)
    
public  Nodevisit(RemainderAssignExpression node)
    
public  Nodevisit(AddAssignExpression node)
    
public  Nodevisit(SubtractAssignExpression node)
    
public  Nodevisit(ShiftLeftAssignExpression node)
    
public  Nodevisit(ShiftRightAssignExpression node)
    
public  Nodevisit(UnsignedShiftRightAssignExpression node)
    
public  Nodevisit(BitAndAssignExpression node)
    
public  Nodevisit(ExclusiveOrAssignExpression node)
    
public  Nodevisit(BitOrAssignExpression node)
    
public  Nodevisit(BlockStatement node)
    
public  Nodevisit(ClassDeclaration node)
    
public  Nodevisit(InterfaceDeclaration node)
    
public  Nodevisit(ConstructorDeclaration node)
    
public  Nodevisit(MethodDeclaration node)
    
public  Nodevisit(FormalParameter node)
    
public  Nodevisit(FieldDeclaration node)
    
public  Nodevisit(VariableDeclaration node)
    
public  Nodevisit(ClassInitializer node)
    
public  Nodevisit(InstanceInitializer node)
    



Method Detail
visit
public Node visit(PackageDeclaration node)(Code)
Visits a PackageDeclaration
Parameters:
  node - the node to visit node



visit
public Node visit(ImportDeclaration node)(Code)
Visits an ImportDeclaration
Parameters:
  node - the node to visit node



visit
public Node visit(EmptyStatement node)(Code)
Visits an EmptyStatement
Parameters:
  node - the node to visit



visit
public Node visit(WhileStatement node)(Code)
Visits a WhileStatement
Parameters:
  node - the node to visit



visit
public Node visit(ForStatement node)(Code)
Visits a ForStatement
Parameters:
  node - the node to visit



visit
public Node visit(ForEachStatement node)(Code)
Visits a ForEachStatement
Parameters:
  node - the node to visit



visit
public Node visit(DoStatement node)(Code)
Visits a DoStatement
Parameters:
  node - the node to visit



visit
public Node visit(SwitchStatement node)(Code)
Visits a SwitchStatement
Parameters:
  node - the node to visit



visit
public Node visit(SwitchBlock node)(Code)
Visits a SwitchBlock
Parameters:
  node - the node to visit



visit
public Node visit(LabeledStatement node)(Code)
Visits a LabeledStatement
Parameters:
  node - the node to visit



visit
public Node visit(BreakStatement node)(Code)
Visits a BreakStatement
Parameters:
  node - the node to visit



visit
public Node visit(TryStatement node)(Code)
Visits a TryStatement
Parameters:
  node - the node to visit



visit
public Node visit(CatchStatement node)(Code)
Visits a CatchStatement
Parameters:
  node - the node to visit



visit
public Node visit(ThrowStatement node)(Code)
Visits a ThrowStatement
Parameters:
  node - the node to visit



visit
public Node visit(ReturnStatement node)(Code)
Visits a ReturnStatement
Parameters:
  node - the node to visit



visit
public Node visit(SynchronizedStatement node)(Code)
Visits a SynchronizedStatement
Parameters:
  node - the node to visit



visit
public Node visit(ContinueStatement node)(Code)
Visits a ContinueStatement
Parameters:
  node - the node to visit



visit
public Node visit(IfThenStatement node)(Code)
Visits a IfThenStatement
Parameters:
  node - the node to visit



visit
public Node visit(IfThenElseStatement node)(Code)
Visits a IfThenElseStatement
Parameters:
  node - the node to visit



visit
public Node visit(AssertStatement node)(Code)
Visits an AssertStatement
Parameters:
  node - the node to visit



visit
public Node visit(Literal node)(Code)
Visits a Literal
Parameters:
  node - the node to visit



visit
public Node visit(ThisExpression node)(Code)
Visits a ThisExpression
Parameters:
  node - the node to visit



visit
public Node visit(QualifiedName node)(Code)
Visits a QualifiedName
Parameters:
  node - the node to visit



visit
public Node visit(ObjectFieldAccess node)(Code)
Visits a ObjectFieldAccess
Parameters:
  node - the node to visit



visit
public Node visit(StaticFieldAccess node)(Code)
Visits a StaticFieldAccess
Parameters:
  node - the node to visit



visit
public Node visit(ArrayAccess node)(Code)
Visits a ArrayAccess
Parameters:
  node - the node to visit



visit
public Node visit(SuperFieldAccess node)(Code)
Visits a SuperFieldAccess
Parameters:
  node - the node to visit



visit
public Node visit(ObjectMethodCall node)(Code)
Visits a ObjectMethodCall
Parameters:
  node - the node to visit



visit
public Node visit(FunctionCall node)(Code)
Visits a FunctionCall
Parameters:
  node - the node to visit



visit
public Node visit(StaticMethodCall node)(Code)
Visits a StaticMethodCall
Parameters:
  node - the node to visit



visit
public Node visit(ConstructorInvocation node)(Code)
Visits a ConstructorInvocation
Parameters:
  node - the node to visit



visit
public Node visit(SuperMethodCall node)(Code)
Visits a SuperMethodCall
Parameters:
  node - the node to visit



visit
public Node visit(PrimitiveType node)(Code)
Visits a PrimitiveType
Parameters:
  node - the node to visit



visit
public Node visit(ReferenceType node)(Code)
Visits a ReferenceType
Parameters:
  node - the node to visit



visit
public Node visit(ArrayType node)(Code)
Visits a ArrayType
Parameters:
  node - the node to visit



visit
public Node visit(TypeExpression node)(Code)
Visits a TypeExpression
Parameters:
  node - the node to visit



visit
public Node visit(PostIncrement node)(Code)
Visits a PostIncrement
Parameters:
  node - the node to visit



visit
public Node visit(PostDecrement node)(Code)
Visits a PostDecrement
Parameters:
  node - the node to visit



visit
public Node visit(PreIncrement node)(Code)
Visits a PreIncrement
Parameters:
  node - the node to visit



visit
public Node visit(PreDecrement node)(Code)
Visits a PreDecrement
Parameters:
  node - the node to visit



visit
public Node visit(ArrayInitializer node)(Code)
Visits a ArrayInitializer
Parameters:
  node - the node to visit



visit
public Node visit(ArrayAllocation node)(Code)
Visits an ArrayAllocation, check me on this one.
Parameters:
  node - the node to visit



visit
public Node visit(SimpleAllocation node)(Code)
Visits an SimpleAllocation
Parameters:
  node - the node to visit



visit
public Node visit(ClassAllocation node)(Code)
Visits an ClassAllocation
Parameters:
  node - the node to visit



visit
public Node visit(InnerAllocation node)(Code)
Visits an InnerAllocation
Parameters:
  node - the node to visit



visit
public Node visit(InnerClassAllocation node)(Code)
Visits an InnerClassAllocation
Parameters:
  node - the node to visit



visit
public Node visit(CastExpression node)(Code)
Visits a CastExpression
Parameters:
  node - the node to visit



visit
public Node visit(NotExpression node)(Code)
Visits a NotExpression
Parameters:
  node - the node to visit



visit
public Node visit(ComplementExpression node)(Code)
Visits a ComplementExpression
Parameters:
  node - the node to visit



visit
public Node visit(PlusExpression node)(Code)
Visits a PlusExpression
Parameters:
  node - the node to visit



visit
public Node visit(MinusExpression node)(Code)
Visits a MinusExpression
Parameters:
  node - the node to visit



visit
public Node visit(MultiplyExpression node)(Code)
Visits a MultiplyExpression
Parameters:
  node - the node to visit



visit
public Node visit(DivideExpression node)(Code)
Visits a DivideExpression
Parameters:
  node - the node to visit



visit
public Node visit(RemainderExpression node)(Code)
Visits a RemainderExpression
Parameters:
  node - the node to visit



visit
public Node visit(AddExpression node)(Code)
Visits a AddExpression
Parameters:
  node - the node to visit



visit
public Node visit(SubtractExpression node)(Code)
Visits a SubtractExpression
Parameters:
  node - the node to visit



visit
public Node visit(ShiftLeftExpression node)(Code)
Visits a ShiftLeftExpression
Parameters:
  node - the node to visit



visit
public Node visit(ShiftRightExpression node)(Code)
Visits a ShiftRightExpression
Parameters:
  node - the node to visit



visit
public Node visit(UnsignedShiftRightExpression node)(Code)
Visits a UnsignedShiftRightExpression
Parameters:
  node - the node to visit



visit
public Node visit(LessExpression node)(Code)
Visits a LessExpression
Parameters:
  node - the node to visit



visit
public Node visit(GreaterExpression node)(Code)
Visits a GreaterExpression
Parameters:
  node - the node to visit



visit
public Node visit(LessOrEqualExpression node)(Code)
Visits a LessOrEqualExpression
Parameters:
  node - the node to visit



visit
public Node visit(GreaterOrEqualExpression node)(Code)
Visits a GreaterOrEqualExpression
Parameters:
  node - the node to visit



visit
public Node visit(InstanceOfExpression node)(Code)
Visits a InstanceOfExpression
Parameters:
  node - the node to visit



visit
public Node visit(EqualExpression node)(Code)
Visits a EqualExpression
Parameters:
  node - the node to visit



visit
public Node visit(NotEqualExpression node)(Code)
Visits a NotEqualExpression
Parameters:
  node - the node to visit



visit
public Node visit(BitAndExpression node)(Code)
Visits a BitAndExpression
Parameters:
  node - the node to visit



visit
public Node visit(ExclusiveOrExpression node)(Code)
Visits a ExclusiveOrExpression
Parameters:
  node - the node to visit



visit
public Node visit(BitOrExpression node)(Code)
Visits a BitOrExpression
Parameters:
  node - the node to visit



visit
public Node visit(AndExpression node)(Code)
Visits an AndExpression
Parameters:
  node - the node to visit



visit
public Node visit(OrExpression node)(Code)
Visits an OrExpression
Parameters:
  node - the node to visit



visit
public Node visit(ConditionalExpression node)(Code)
Visits a ConditionalExpression
Parameters:
  node - the node to visit



visit
public Node visit(SimpleAssignExpression node)(Code)
Visits an SimpleAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(MultiplyAssignExpression node)(Code)
Visits an MultiplyAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(DivideAssignExpression node)(Code)
Visits an DivideAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(RemainderAssignExpression node)(Code)
Visits an RemainderAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(AddAssignExpression node)(Code)
Visits an AddAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(SubtractAssignExpression node)(Code)
Visits an SubtractAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(ShiftLeftAssignExpression node)(Code)
Visits an ShiftLeftAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(ShiftRightAssignExpression node)(Code)
Visits an ShiftRightAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(UnsignedShiftRightAssignExpression node)(Code)
Visits an UnsignedShiftRightAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(BitAndAssignExpression node)(Code)
Visits a BitAndAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(ExclusiveOrAssignExpression node)(Code)
Visits a ExclusiveOrAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(BitOrAssignExpression node)(Code)
Visits a BitOrAssignExpression
Parameters:
  node - the node to visit



visit
public Node visit(BlockStatement node)(Code)
Visits a BlockStatement
Parameters:
  node - the node to visit



visit
public Node visit(ClassDeclaration node)(Code)
Visits a ClassDeclaration
Parameters:
  node - the node to visit



visit
public Node visit(InterfaceDeclaration node)(Code)
Visits an InterfaceDeclaration
Parameters:
  node - the node to visit



visit
public Node visit(ConstructorDeclaration node)(Code)
Visits a ConstructorDeclaration
Parameters:
  node - the node to visit



visit
public Node visit(MethodDeclaration node)(Code)
Visits a MethodDeclaration
Parameters:
  node - the node to visit



visit
public Node visit(FormalParameter node)(Code)
Visits a FormalParameter
Parameters:
  node - the node to visit



visit
public Node visit(FieldDeclaration node)(Code)
Visits a FieldDeclaration
Parameters:
  node - the node to visit



visit
public Node visit(VariableDeclaration node)(Code)
Visits a VariableDeclaration
Parameters:
  node - the node to visit



visit
public Node visit(ClassInitializer node)(Code)
Visits a ClassInitializer
Parameters:
  node - the node to visit



visit
public Node visit(InstanceInitializer node)(Code)
Visits a InstanceInitializer
Parameters:
  node - the node to visit



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.