01: package net.sourceforge.pmd.symboltable;
02:
03: import net.sourceforge.pmd.jsp.ast.ASTCompilationUnit;
04: import net.sourceforge.pmd.sourcetypehandlers.VisitorStarter;
05:
06: /**
07: * Symbol Facade for JSP.
08: *
09: * @author pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
10: */
11: public class JspSymbolFacade implements VisitorStarter {
12:
13: /**
14: * Set Scope for JSP AST.
15: */
16: public void start(Object rootNode) {
17: ASTCompilationUnit compilationUnit = (ASTCompilationUnit) rootNode;
18: new JspScopeAndDeclarationFinder().setJspScope(compilationUnit);
19: }
20:
21: }
|