|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.parsers.Java13Parser
public class Java13Parser
Adapter for the JavaParser, using Java 1.3 grammar.
Constructor Summary | |
---|---|
Java13Parser()
|
Method Summary | |
---|---|
java.util.Map<java.lang.Integer,java.lang.String> |
getExcludeMap()
|
java.lang.Object |
parse(java.io.Reader source)
Parse source code and return the root node of the AST. |
void |
setExcludeMarker(java.lang.String marker)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Java13Parser()
Method Detail |
---|
public java.lang.Object parse(java.io.Reader source) throws ParseException
Parser
parse
in interface Parser
source
- Reader that provides the source code of a compilation unit
ParseException
- In case the source code could not be parsed, probably
due to syntactical errors.public java.util.Map<java.lang.Integer,java.lang.String> getExcludeMap()
getExcludeMap
in interface Parser
public void setExcludeMarker(java.lang.String marker)
setExcludeMarker
in interface Parser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |