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
boolean
isInstantiated
The flag for instantiated types.
final
protected
Printer
printer
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
boolean
printAnnotations
(
Type
t)
Print the specified type's annotations.
Parameters:
t - The type.
public
void
printBody
(
ClassOrInterfaceT
t)
Print the interfaces, fields, and methods of the specified class or interface type.
public
void
printSignature
(
FunctionOrMethodT
t)
Print the specified function or method type's signature.
public
void
printTagged
(
String
kind,
Tagged
tag)
Print the specified tagged type.
public
void
reset
()
Reset this type printer.
public
void
visit
(
BooleanT
t)
Print the specified boolean type.
public
void
visit
(
ErrorT
t)
Print the specified error type.
public
void
visit
(
InternalT
t)
Print the specified internal type.
public
void
visit
(
LabelT
t)
Print the specified label type.
public
void
visit
(
NumberT
t)
Print the specified number type.
public
void
visit
(
PackageT
t)
Print the specified package type.
public
void
visit
(
Parameter
t)
Print the specified type parameter.
public
void
visit
(
UnitT
t)
Print the specified unit type.
public
void
visit
(
VoidT
t)
Print the specified void type.
public
void
visit
(
ArrayT
t)
Print the specified array type.
public
void
visit
(
ClassT
t)
Print the specified class type.
public
void
visit
(
InterfaceT
t)
Print the specified interface type.
public
void
visit
(
FunctionT
t)
Print the specified function type.
public
void
visit
(
MethodT
t)
Print the specified method type.
public
void
visit
(
PointerT
t)
Print the specified pointer type.
public
void
visit
(
StructT
t)
Print the specified struct type.
public
void
visit
(
UnionT
t)
Print the specified union type.
public
void
visit
(
TupleT
t)
Print the specified tuple type.
public
void
visit
(
VariantT
t)
Print the specified variant typee.
public
void
visit
(
AliasT
t)
Print the specified type alias.
public
void
visit
(
AnnotatedT
t)
Print the specified annotated type.
public
void
visit
(
EnumeratorT
t)
Print the specified enumerator.
public
void
visit
(
EnumT
t)
Print the specified enum type.
public
void
visit
(
InstantiatedT
t)
Print the specified instantiated type.
public
void
visit
(
ParameterizedT
t)
Print the specified parameterized type.
public
void
visit
(
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.