dk.brics.grammar.ast
Class DotPrinter
java.lang.Object
dk.brics.grammar.ast.DotPrinter
public class DotPrinter
- extends Object
Printer for Graphviz Dot format.
Method Summary |
void |
print(AST t)
Prints the given AST. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DotPrinter
public DotPrinter(PrintWriter p)
- Constructs a new dot printer.
- Parameters:
p
- print writer for output
print
public void print(AST t)
- Prints the given AST.
- Parameters:
t
- AST
Copyright © 2005-2008 Anders Møller.