Class MindMapPrinter

  • All Implemented Interfaces:
    Visitor

    public class MindMapPrinter
    extends VisitorAdapter
    An antlr AST visitor that prints a format suitable for viewing in http://freemind.sourceforge.net
    • Constructor Detail

      • MindMapPrinter

        public MindMapPrinter​(java.io.PrintStream out,
                              java.lang.String[] tokenNames)
        A visitor that prints a format suitable for viewing in http://freemind.sourceforge.net
        Parameters:
        out - where to print the mindmap file contents to
        tokenNames - an array of token names from antlr
      • MindMapPrinter

        public MindMapPrinter​(java.io.PrintStream out,
                              java.lang.String[] tokenNames,
                              SourceBuffer sourceBuffer)