tribble.io
Interface ParserWithSymbolTableI

All Superinterfaces:
ParserI

public interface ParserWithSymbolTableI
extends ParserI

Generic parser interface.

This interface is used to implement any kind of parser which reads tokens from an input source stream (implementing the LexerI interface) and produces a symbol table (implementing the SymbolTableI interface).

Since:
2001-05-12
Version:
$Revision: 1.1 $ $Date: 2001/05/12 20:36:00 $
Author:
David R. Tribble, david@tribble.com
Copyright ©2001-2002 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 Also:
ParserI, SymbolTableI

Field Summary
static java.lang.String REV
          Revision information.
 
Method Summary
 SymbolTableI getSymbolTable()
          Retrieves the symbol table that resulted from a successful parsing of the input token stream.
 
Methods inherited from interface tribble.io.ParserI
close, parse, setInput, setSourceName
 

Field Detail

REV

static final java.lang.String REV
Revision information.

See Also:
Constant Field Values
Method Detail

getSymbolTable

SymbolTableI getSymbolTable()
Retrieves the symbol table that resulted from a successful parsing of the input token stream.

Returns:
The symbol table resulting from the parsing of the input token stream, or null if there is no symbol table or if an error occurred during parsing.
Since:
1.1, 2001-05-12