com.caucho.quercus.gen
Class QuercusGenerator

java.lang.Object
  extended by com.caucho.quercus.gen.QuercusGenerator

public class QuercusGenerator
extends java.lang.Object

Generator.


Constructor Summary
QuercusGenerator(QuercusContext quercus)
           
 
Method Summary
 void compile(java.lang.String[] files)
           
 java.lang.String[] generate(QuercusProgram program, java.lang.String userPath, boolean isLazy)
           
 java.lang.String[] generateProfile(QuercusProgram program, java.lang.String userPath)
           
 Path getClassFilePath(QuercusProgram program)
           
 java.lang.Class<?> load(QuercusProgram program)
           
 java.lang.Class<?> preload(GenClass cl)
           
 java.lang.Class<?> preload(QuercusProgram program)
           
 java.lang.Class<?> preload(java.lang.String className)
           
 boolean preloadExists(java.lang.String className)
           
 java.lang.Class<?> preloadProfile(QuercusProgram program)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuercusGenerator

public QuercusGenerator(QuercusContext quercus)
Method Detail

preload

public java.lang.Class<?> preload(GenClass cl)
                           throws java.lang.Exception
Throws:
java.lang.Exception

preload

public java.lang.Class<?> preload(java.lang.String className)
                           throws java.lang.Exception
Throws:
java.lang.Exception

preloadExists

public boolean preloadExists(java.lang.String className)

getClassFilePath

public Path getClassFilePath(QuercusProgram program)

preload

public java.lang.Class<?> preload(QuercusProgram program)
                           throws java.lang.Exception
Throws:
java.lang.Exception

load

public java.lang.Class<?> load(QuercusProgram program)
                        throws java.lang.Exception
Throws:
java.lang.Exception

preloadProfile

public java.lang.Class<?> preloadProfile(QuercusProgram program)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

generate

public java.lang.String[] generate(QuercusProgram program,
                                   java.lang.String userPath,
                                   boolean isLazy)
                            throws java.lang.Exception
Throws:
java.lang.Exception

generateProfile

public java.lang.String[] generateProfile(QuercusProgram program,
                                          java.lang.String userPath)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

compile

public void compile(java.lang.String[] files)
             throws java.lang.Exception
Throws:
java.lang.Exception