public abstract Topology<Token> emptyTopology();
public String toString() { return pt.toString(); }
- Cache cache() { return pt; }
+ Grammar cache() { return pt; }
/** parse <tt>input</tt>, and return the shared packed parse forest (or throw an exception) */
public Forest<NodeType> parse(Input<Token> input) throws IOException, ParseFailed {
// Table //////////////////////////////////////////////////////////////////////////////
/** an SLR(1) parse table which may contain conflicts */
- class Table extends Cache<Token> {
+ class Table extends Grammar<Token> {
/** the start state */
final State<Token> start;