Java Doc for TypePrinter.java in  » Parser » Rats-Parser-Generators » xtc » type » 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 » Parser » Rats Parser Generators » xtc.type 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   xtc.tree.Visitor
      xtc.type.TypePrinter

TypePrinter
public class TypePrinter extends Visitor (Code)
A visitor to print types.
author:
   Robert Grimm
version:
   $Revision: 1.63 $


Field Summary
protected  booleanisInstantiated
     The flag for instantiated types.
final protected  Printerprinter
     The printer utility.
final protected  Map<Object, Object>visited
     The set of visited, complex types.

Constructor Summary
public  TypePrinter(Printer printer)
     Create a new type printer.

Method Summary
public  booleanprintAnnotations(Type t)
     Print the specified type's annotations.
Parameters:
  t - The type.
public  voidprintBody(ClassOrInterfaceT t)
     Print the interfaces, fields, and methods of the specified class or interface type.
public  voidprintSignature(FunctionOrMethodT t)
     Print the specified function or method type's signature.
public  voidprintTagged(String kind, Tagged tag)
     Print the specified tagged type.
public  voidreset()
     Reset this type printer.
public  voidvisit(BooleanT t)
     Print the specified boolean type.
public  voidvisit(ErrorT t)
     Print the specified error type.
public  voidvisit(InternalT t)
     Print the specified internal type.
public  voidvisit(LabelT t)
     Print the specified label type.
public  voidvisit(NumberT t)
     Print the specified number type.
public  voidvisit(PackageT t)
     Print the specified package type.
public  voidvisit(Parameter t)
     Print the specified type parameter.
public  voidvisit(UnitT t)
     Print the specified unit type.
public  voidvisit(VoidT t)
     Print the specified void type.
public  voidvisit(ArrayT t)
     Print the specified array type.
public  voidvisit(ClassT t)
     Print the specified class type.
public  voidvisit(InterfaceT t)
     Print the specified interface type.
public  voidvisit(FunctionT t)
     Print the specified function type.
public  voidvisit(MethodT t)
     Print the specified method type.
public  voidvisit(PointerT t)
     Print the specified pointer type.
public  voidvisit(StructT t)
     Print the specified struct type.
public  voidvisit(UnionT t)
     Print the specified union type.
public  voidvisit(TupleT t)
     Print the specified tuple type.
public  voidvisit(VariantT t)
     Print the specified variant typee.
public  voidvisit(AliasT t)
     Print the specified type alias.
public  voidvisit(AnnotatedT t)
     Print the specified annotated type.
public  voidvisit(EnumeratorT t)
     Print the specified enumerator.
public  voidvisit(EnumT t)
     Print the specified enum type.
public  voidvisit(InstantiatedT t)
     Print the specified instantiated type.
public  voidvisit(ParameterizedT t)
     Print the specified parameterized type.
public  voidvisit(VariableT t)
     Print the specified variable type.

Field Detail
isInstantiated
protected boolean isInstantiated(Code)
The flag for instantiated types.



printer
final protected Printer printer(Code)
The printer utility.



visited
final protected Map<Object, Object> visited(Code)
The set of visited, complex types.




Constructor Detail
TypePrinter
public TypePrinter(Printer printer)(Code)
Create a new type printer. Note that this constructor xtc.tree.Utility.register registers the new type printer with the specified printer.
Parameters:
  printer - The printer utility.




Method Detail
printAnnotations
public boolean printAnnotations(Type t)(Code)
Print the specified type's annotations.
Parameters:
  t - The type. true if anything was printed.



printBody
public void printBody(ClassOrInterfaceT t)(Code)
Print the interfaces, fields, and methods of the specified class or interface type.
Parameters:
  t - The class or interface type.



printSignature
public void printSignature(FunctionOrMethodT t)(Code)
Print the specified function or method type's signature.
Parameters:
  t - The function or method type.



printTagged
public void printTagged(String kind, Tagged tag)(Code)
Print the specified tagged type.
Parameters:
  kind - The kind.
Parameters:
  tag - The tagged type.



reset
public void reset()(Code)
Reset this type printer.



visit
public void visit(BooleanT t)(Code)
Print the specified boolean type.



visit
public void visit(ErrorT t)(Code)
Print the specified error type.



visit
public void visit(InternalT t)(Code)
Print the specified internal type.



visit
public void visit(LabelT t)(Code)
Print the specified label type.



visit
public void visit(NumberT t)(Code)
Print the specified number type.



visit
public void visit(PackageT t)(Code)
Print the specified package type.



visit
public void visit(Parameter t)(Code)
Print the specified type parameter.



visit
public void visit(UnitT t)(Code)
Print the specified unit type.



visit
public void visit(VoidT t)(Code)
Print the specified void type.



visit
public void visit(ArrayT t)(Code)
Print the specified array type.



visit
public void visit(ClassT t)(Code)
Print the specified class type.



visit
public void visit(InterfaceT t)(Code)
Print the specified interface type.



visit
public void visit(FunctionT t)(Code)
Print the specified function type.



visit
public void visit(MethodT t)(Code)
Print the specified method type.



visit
public void visit(PointerT t)(Code)
Print the specified pointer type.



visit
public void visit(StructT t)(Code)
Print the specified struct type.



visit
public void visit(UnionT t)(Code)
Print the specified union type.



visit
public void visit(TupleT t)(Code)
Print the specified tuple type.



visit
public void visit(VariantT t)(Code)
Print the specified variant typee.



visit
public void visit(AliasT t)(Code)
Print the specified type alias.



visit
public void visit(AnnotatedT t)(Code)
Print the specified annotated type.



visit
public void visit(EnumeratorT t)(Code)
Print the specified enumerator.



visit
public void visit(EnumT t)(Code)
Print the specified enum type.



visit
public void visit(InstantiatedT t)(Code)
Print the specified instantiated type.



visit
public void visit(ParameterizedT t)(Code)
Print the specified parameterized type.



visit
public void visit(VariableT t)(Code)
Print the specified variable type.



Methods inherited from xtc.tree.Visitor
public Object dispatch(Node node)(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.