A parser must return three values:
The RDParserResult class encapsulates the three values that are returned from a successful parse.
Success and failure can be queried with the {@see #success()} and {@see #failed()} methods.If successful, the semantic value is returned by {@see #value()}, and the unparsed portion of the input is returned by {@see #remainingTokens()}
@author mjd
|
|
|
|