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 8 public class JspParser implements Parser { 9 10 public Object parse(Reader source) throws ParseException { 11 return new net.sourceforge.pmd.jsp.ast.JspParser(new JspCharStream(source)).CompilationUnit(); 12 } 13 14 }