Constructor and Description |
---|
Java17Parser() |
Modifier and Type | Method and Description |
---|---|
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) |
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 unitParseException
- 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