ist.palcom.assembler
Class LiteralPool

java.lang.Object
  extended by ist.palcom.assembler.LiteralPool

public class LiteralPool
extends java.lang.Object


Constructor Summary
LiteralPool()
           
 
Method Summary
 void addMethod(Method method)
           
 byte indexOfLiteral(Literal literal)
           
 byte indexOfMethodNamed(java.lang.String name)
           
 byte indexOfSymbol(java.lang.String value)
           
 ISerializableLiteral[] toLiteralArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralPool

public LiteralPool()
Method Detail

indexOfLiteral

public byte indexOfLiteral(Literal literal)
                    throws java.lang.Exception
Throws:
java.lang.Exception

indexOfSymbol

public byte indexOfSymbol(java.lang.String value)
                   throws java.lang.Exception
Throws:
java.lang.Exception

addMethod

public void addMethod(Method method)
               throws java.lang.Exception
Throws:
java.lang.Exception

indexOfMethodNamed

public byte indexOfMethodNamed(java.lang.String name)
                        throws java.lang.Exception
Throws:
java.lang.Exception

toLiteralArray

public ISerializableLiteral[] toLiteralArray()