Class MindMapPrinter

java.lang.Object
org.codehaus.groovy.antlr.treewalker.VisitorAdapter
org.codehaus.groovy.antlr.treewalker.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 Details

    • 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)
  • Method Details