com.joanju.cg.codegen
Class Codegenerator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Codegenerator
public Codegenerator(ParseUnit pu)
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.