|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.page.QuercusPage
com.caucho.quercus.page.InterpretedPage
public class InterpretedPage
Represents an interpreted Quercus program.
Constructor Summary | |
---|---|
InterpretedPage(QuercusProgram program)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
Value |
execute(Env env)
Execute the program |
InterpretedClassDef |
findClass(java.lang.String name)
Finds the class |
AbstractFunction |
findFunction(java.lang.String name)
Finds the function |
java.util.HashMap<java.lang.String,ClassDef> |
getClassMap()
Returns the class map. |
QuercusPage |
getCompiledPage()
Returns any profile page. |
QuercusPage |
getProfilePage()
Returns any profile page. |
Path |
getPwd(Env env)
Returns the pwd according to the source page. |
Path |
getSelfPath(Env env)
Returns the pwd according to the source page. |
void |
importDefinitions(Env env)
Imports the page definitions. |
void |
init(Env env)
Imports the page definitions. |
boolean |
isModified()
Returns true if the page is modified. |
boolean |
setRuntimeFunction(AbstractFunction[] funList)
Sets a runtime function array after an env. |
java.lang.String |
toString()
|
Methods inherited from class com.caucho.quercus.page.QuercusPage |
---|
addClass, addFunction, executeTop, getUserPath, init, setProfilePage |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterpretedPage(QuercusProgram program)
Method Detail |
---|
public boolean isModified()
isModified
in class QuercusPage
public QuercusPage getProfilePage()
getProfilePage
in class QuercusPage
public QuercusPage getCompiledPage()
getCompiledPage
in class QuercusPage
public Value execute(Env env)
execute
in class QuercusPage
env
- the calling environmentpublic Path getPwd(Env env)
getPwd
in class QuercusPage
public Path getSelfPath(Env env)
getSelfPath
in class QuercusPage
public void init(Env env)
init
in class QuercusPage
public void importDefinitions(Env env)
importDefinitions
in class QuercusPage
public AbstractFunction findFunction(java.lang.String name)
findFunction
in class QuercusPage
public InterpretedClassDef findClass(java.lang.String name)
findClass
in class QuercusPage
public java.util.HashMap<java.lang.String,ClassDef> getClassMap()
getClassMap
in class QuercusPage
public boolean setRuntimeFunction(AbstractFunction[] funList)
setRuntimeFunction
in class QuercusPage
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class QuercusPage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |