public interface Parser
Parse[] parse(Parse tokens, int numParses)
Parse.setParent(Parse)
can be used to make the parents consistent
with a particular parse, but subsequent calls to setParents
can invalidate the results of earlier
calls.tokens
- A parse containing the tokens with a single parent node.numParses
- The number of parses desired.Copyright © 2015 The Apache Software Foundation. All rights reserved.