01: package net.sourceforge.pmd.sourcetypehandlers;
02:
03: /**
04: * Interface for starting an implementation of the parser visitors for
05: * the grammars.
06: *
07: * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
08: */
09: public interface VisitorStarter {
10:
11: VisitorStarter dummy = new VisitorStarter() {
12: public void start(Object rootNode) {
13: }
14: };
15:
16: /**
17: * Start the visitor, given the root-node of the AST.
18: *
19: * @param rootNode The root node of the AST
20: */
21: void start(Object rootNode);
22:
23: }
|