Java Doc for NodePrinter.java in  » Scripting » groovy-1.0 » org » codehaus » groovy » antlr » treewalker » 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 » groovy 1.0 » org.codehaus.groovy.antlr.treewalker 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.codehaus.groovy.antlr.treewalker.VisitorAdapter
      org.codehaus.groovy.antlr.treewalker.NodePrinter

NodePrinter
public class NodePrinter extends VisitorAdapter (Code)
A simple antlr AST visitor that outputs the tokenName of each node in a pseudo xml style.
author:
   Jeremy Rayner
version:
   $Revision: 4032 $



Constructor Summary
public  NodePrinter(PrintStream out, String[] tokenNames)
    

Method Summary
public  voidvisitDefault(GroovySourceAST t, int visit)
    


Constructor Detail
NodePrinter
public NodePrinter(PrintStream out, String[] tokenNames)(Code)
A visitor that prints a pseudo xml output to the supplied PrintStream
Parameters:
  out - supplied PrintStream to output nodes to
Parameters:
  tokenNames - an array of token names to use




Method Detail
visitDefault
public void visitDefault(GroovySourceAST t, int visit)(Code)



Methods inherited from org.codehaus.groovy.antlr.treewalker.VisitorAdapter
public GroovySourceAST pop()(Code)(Java Doc)
public void push(GroovySourceAST t)(Code)(Java Doc)
public void setUp()(Code)(Java Doc)
public void tearDown()(Code)(Java Doc)
public void visitAbstract(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAnnotation(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAnnotationArrayInit(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAnnotationDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAnnotationFieldDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAnnotationMemberValuePair(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAnnotations(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitArrayDeclarator(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitAt(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBand(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBandAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBigSuffix(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBlock(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBnot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBorAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBsr(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBsrAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBxor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitBxorAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitCaseGroup(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitClassDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitClosedBlock(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitClosureOp(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitColon(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitComma(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitCompareTo(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitCtorCall(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitCtorIdent(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDec(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDefault(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDigit(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDiv(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDivAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDollar(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitDynamicMember(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitElist(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitEmptyStat(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitEnumConstantDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitEnumDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitEof(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitEqual(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitEsc(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitExponent(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitExpr(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitExtendsClause(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitFinal(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitFloatSuffix(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitForCondition(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitForEachClause(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitForInIterable(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitForInit(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitForIterator(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitGe(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitGt(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitHexDigit(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitIdent(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitImplementsClause(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitImplicitParameters(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitImport(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitInc(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitIndexOp(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitInstanceInit(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitInterfaceDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLabeledArg(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLabeledStat(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLand(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLbrack(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLcurly(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLe(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLetter(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitListConstructor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralAny(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralAs(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralAssert(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralBoolean(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralBreak(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralByte(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralCase(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralCatch(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralChar(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralClass(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralContinue(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralDefault(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralDouble(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralElse(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralEnum(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralExtends(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralFalse(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralFinally(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralFloat(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralFor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralIf(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralImplements(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralImport(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralIn(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralInstanceof(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralInt(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralInterface(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralLong(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralNative(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralNew(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralNull(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralPackage(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralPrivate(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralProtected(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralPublic(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralReturn(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralShort(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralStatic(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralSuper(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralSwitch(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralSynchronized(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralThis(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralThreadsafe(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralThrow(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralThrows(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralTransient(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralTrue(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralTry(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralVoid(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralVolatile(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralWhile(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLiteralWith(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLnot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLparen(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitLt(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMapConstructor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMemberPointer(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMethodCall(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMethodDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMinus(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMinusAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMlComment(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitMod(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitModAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitModifiers(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNls(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNotEqual(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNullTreeLookahead(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNumBigDecimal(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNumBigInt(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNumDouble(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNumFloat(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNumInt(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitNumLong(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitObjblock(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitOneNl(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitOptionalDot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitPackageDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitParameterDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitParameters(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitPlus(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitPlusAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitPostDec(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitPostInc(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitQuestion(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRangeExclusive(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRangeInclusive(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRbrack(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRcurly(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRegexFind(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRegexMatch(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRegexpCtorEnd(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRegexpLiteral(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRegexpSymbol(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitRparen(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitScopeEscape(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSelectSlot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSemi(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitShComment(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSl(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSlAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSlComment(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSlist(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSpreadArg(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSpreadDot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSpreadMapArg(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSr(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSrAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStar(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStarAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStarStar(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStarStarAssign(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStaticImport(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStaticInit(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStrictfp(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringCh(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringConstructor(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringCtorEnd(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringCtorMiddle(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringCtorStart(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringLiteral(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitStringNl(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitSuperCtorCall(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTripleDot(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitType(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypeArgument(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypeArguments(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypeLowerBounds(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypeParameter(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypeParameters(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypeUpperBounds(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitTypecast(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitUnaryMinus(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitUnaryPlus(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitUnusedConst(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitUnusedDo(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitUnusedGoto(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitVariableDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitVariableParameterDef(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitVocab(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitWildcardType(GroovySourceAST t, int visit)(Code)(Java Doc)
public void visitWs(GroovySourceAST t, int visit)(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.