symbolHandling
Class StringTable

java.lang.Object
  extended by symbolHandling.AbstractTable<StringSymbol>
      extended by symbolHandling.StringTable

public class StringTable
extends AbstractTable<StringSymbol>


Field Summary
 
Fields inherited from class symbolHandling.AbstractTable
idtable, inttable, stringtable, table
 
Constructor Summary
StringTable()
           
 
Method Summary
 void codeStringTable(int stringclasstag, java.io.PrintWriter s)
          Generates code for all string constants in the string table.
protected  StringSymbol getNewSymbol(java.lang.String s, int len, int index)
          Creates a new StringSymbol object.
 
Methods inherited from class symbolHandling.AbstractTable
addInt, addString, addString, getSymbols, lookup, lookup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringTable

public StringTable()
Method Detail

getNewSymbol

protected StringSymbol getNewSymbol(java.lang.String s,
                                    int len,
                                    int index)
Creates a new StringSymbol object.

Specified by:
getNewSymbol in class AbstractTable<StringSymbol>
See Also:
StringSymbol

codeStringTable

public void codeStringTable(int stringclasstag,
                            java.io.PrintWriter s)
Generates code for all string constants in the string table.

Parameters:
stringclasstag - the class tag for String
s - the output stream