Package antlr

Class DumpASTVisitor

  • All Implemented Interfaces:
    ASTVisitor

    public class DumpASTVisitor
    extends java.lang.Object
    implements ASTVisitor
    Simple class to dump the contents of an AST to the output
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int level  
    • Constructor Summary

      Constructors 
      Constructor Description
      DumpASTVisitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(AST node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • level

        protected int level
    • Constructor Detail

      • DumpASTVisitor

        public DumpASTVisitor()
    • Method Detail