net.sourceforge.pmd.parsers
public interface Parser
| Method Summary | |
|---|---|
| Map<Integer,String> | getExcludeMap() |
| Object | parse(Reader source)
Parse source code and return the root node of the AST.
|
| void | setExcludeMarker(String marker) |
Parameters: source Reader that provides the source code of a compilation unit
Returns: the root node of the AST that is built from the source code
Throws: ParseException In case the source code could not be parsed, probably due to syntactical errors.