1 /** 2 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html 3 */ 4 package net.sourceforge.pmd.lang.java.ast; 5 6 import net.sourceforge.pmd.lang.symboltable.Scope; 7 import net.sourceforge.pmd.lang.symboltable.ScopedNode; 8 9 public interface JavaNode extends ScopedNode { 10 11 /** 12 * Accept the visitor. * 13 */ 14 Object jjtAccept(JavaParserVisitor visitor, Object data); 15 16 /** 17 * Accept the visitor. * 18 */ 19 Object childrenAccept(JavaParserVisitor visitor, Object data); 20 21 Scope getScope(); 22 23 void setScope(Scope scope); 24 }