com.joanju.cg.codegen
Class Codegenerator

java.lang.Object
  extended by com.joanju.cg.codegen.Codegenerator

public class Codegenerator
extends java.lang.Object

The compiler analyzes the syntax tree and the symbol tables to generate Bytecode instructions. Those instructions are stored in a Target object. The compiler is not thread safe. Do not allow the compiler to be launched from multiple threads.

See Also:
InstructionSet

Constructor Summary
Codegenerator(ParseUnit pu)
           
 
Method Summary
 void compile()
           
 int getCUID()
           
 int[] getFileIDIndex()
          Public because it's required by the UpdateEngine.
 InstructionSet getInstructionSet()
           
 ParseUnit getParseUnit()
           
 com.joanju.cg.codegen.Symbols getSymbols()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Codegenerator

public Codegenerator(ParseUnit pu)
Method Detail

compile

public void compile()
             throws java.sql.SQLException,
                    java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

getCUID

public int getCUID()

getFileIDIndex

public int[] getFileIDIndex()
Public because it's required by the UpdateEngine.


getInstructionSet

public InstructionSet getInstructionSet()

getParseUnit

public ParseUnit getParseUnit()

getSymbols

public com.joanju.cg.codegen.Symbols getSymbols()


Copyright © 2008 Joanju Software. All Rights Reserved.