1 |
| package net.sourceforge.pmd.parsers; |
2 |
| |
3 |
| import net.sourceforge.pmd.ast.ParseException; |
4 |
| import net.sourceforge.pmd.jsp.ast.JspCharStream; |
5 |
| |
6 |
| import java.io.Reader; |
7 |
| import java.util.HashMap; |
8 |
| import java.util.Map; |
9 |
| |
10 |
| public class JspParser implements Parser { |
11 |
| |
12 |
0
| public Object parse(Reader source) throws ParseException {
|
13 |
0
| return new net.sourceforge.pmd.jsp.ast.JspParser(new JspCharStream(source)).CompilationUnit();
|
14 |
| } |
15 |
| |
16 |
0
| public Map getExcludeMap() {
|
17 |
0
| return new HashMap();
|
18 |
| } |
19 |
| |
20 |
0
| public void setExcludeMarker(String marker) {
|
21 |
| |
22 |
| } |
23 |
| |
24 |
| |
25 |
| } |