|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| JspSymbolFacade.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 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 | 24 | public void start(Object rootNode) { |
| 17 | 24 | ASTCompilationUnit compilationUnit = (ASTCompilationUnit) rootNode; |
| 18 | 24 | new JspScopeAndDeclarationFinder().setJspScope(compilationUnit); |
| 19 | } | |
| 20 | ||
| 21 | } |
|
||||||||||