1 package net.sourceforge.pmd.symboltable;
2
3 import net.sourceforge.pmd.jsp.ast.ASTCompilationUnit;
4 import net.sourceforge.pmd.sourcetypehandlers.VisitorStarter;
5
6 /***
7 * Symbol Facade for JSP.
8 *
9 * @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 }