//============================================================================== // tribble/io/Lr1ParserI.java //------------------------------------------------------------------------------ package tribble.io; // System imports import java.lang.Exception; import java.lang.String; // Local imports import tribble.io.LexerI; import tribble.io.ParserI; /******************************************************************************* * Generic LR(1) parser interface. * *

* This interface is used to implement any kind of LR(1) parser which reads * tokens from an input source stream (implementing the {@link LexerI} * interface). * * @version $Revision: 1.2 $ $Date: 2003/01/25 19:01:01 $ * @since 2001-08-11 * @author * David R. Tribble, * david@tribble.com *
* Copyright * ©2001-2003 by David R. Tribble, all rights reserved. *
* Permission is granted to freely use and distribute this source code * provided that the original copyright and authorship notices remain * intact. * * @see Lr1ParserTablesI * @see ParserI * @see LexerI */ public interface Lr1ParserI extends ParserI { // Identification /** Revision information. */ static final String REV = "@(#)tribble/io/Lr1ParserI.java $Revision: 1.2 $ $Date: 2003/01/25 19:01:01 $\n"; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public methods ///+INCOMPLETE // Methods inherited from tribble.io.ParserI: // public void setInput(LexerI in); // public void setSourceName(String fn); // public void close(); // public boolean parse() // throws Exception; } // End Lr1ParserI.java