Class StringTable

java.lang.Object
  extended by AbstractTable
      extended by StringTable

 class StringTable
extends AbstractTable


Field Summary
 
Fields inherited from class AbstractTable
idtable, inttable, stringtable, tbl
 
Constructor Summary
StringTable()
           
 
Method Summary
 void codeStringTable(int stringclasstag, java.io.PrintStream s)
          Generates code for all string constants in the string table.
protected  AbstractSymbol getNewSymbol(java.lang.String s, int len, int index)
          Creates a new StringSymbol object.
 
Methods inherited from class 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

StringTable()
Method Detail

getNewSymbol

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

Specified by:
getNewSymbol in class AbstractTable
See Also:
StringSymbol

codeStringTable

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

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