dk.brics.grammar.ast
Class DotPrinter

java.lang.Object
  extended by dk.brics.grammar.ast.DotPrinter

public class DotPrinter
extends Object

Printer for Graphviz Dot format.


Constructor Summary
DotPrinter(PrintWriter p)
          Constructs a new dot printer.
 
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
 

Constructor Detail

DotPrinter

public DotPrinter(PrintWriter p)
Constructs a new dot printer.

Parameters:
p - print writer for output
Method Detail

print

public void print(AST t)
Prints the given AST.

Parameters:
t - AST


Copyright © 2005-2008 Anders Møller.