public interface Parser
A
Parser is used to parse a CivlcTokenSource --- a stream of
CivlcTokens --- and create a ParseTree.-
Method Summary
Modifier and TypeMethodDescriptionparse(CivlcTokenSource tokenSource) Returns the parse tree resulting from parsing the input, after some "post-processing" has been done to the tree to fill in some fields.
-
Method Details
-
parse
Returns the parse tree resulting from parsing the input, after some "post-processing" has been done to the tree to fill in some fields.- Returns:
- the parse tree resulting from parsing and clean up
- Throws:
ParseException- if there is a syntax exception
-