View Javadoc

    1   package net.sourceforge.pmd.sourcetypehandlers;
    2
    3   /***
    4    * Interface for starting an implementation of the parser visitors for
    5    * the grammars.
    6    *
    7    * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
    8    */
    9   public interface VisitorStarter {
    10
    11  	VisitorStarter dummy = new VisitorStarter() { public void start(Object rootNode) {} };
    12
    13      /***
    14       * Start the visitor, given the root-node of the AST.
    15       *
    16       * @param rootNode The root node of the AST
    17       */
    18      void start(Object rootNode);
    19
    20  }