|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parser
Common interface for calling tree-building parsers or source files.
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)
|
Method Detail |
---|
java.lang.Object parse(java.io.Reader source) throws ParseException
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.java.util.Map<java.lang.Integer,java.lang.String> getExcludeMap()
void setExcludeMarker(java.lang.String marker)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |