public class InterpretedPage extends QuercusPage
| Constructor and Description |
|---|
InterpretedPage(QuercusProgram program) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Value |
execute(Env env)
Execute the program
|
InterpretedClassDef |
findClass(java.lang.String name)
Finds the class
|
AbstractFunction |
findFunction(StringValue 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() |
addClass, addFunction, executeTop, getUserPath, init, setProfilePagepublic InterpretedPage(QuercusProgram program)
public boolean isModified()
isModified in class QuercusPagepublic QuercusPage getProfilePage()
getProfilePage in class QuercusPagepublic QuercusPage getCompiledPage()
getCompiledPage in class QuercusPagepublic Value execute(Env env)
execute in class QuercusPageenv - the calling environmentpublic Path getPwd(Env env)
getPwd in class QuercusPagepublic Path getSelfPath(Env env)
getSelfPath in class QuercusPagepublic void init(Env env)
init in class QuercusPagepublic void importDefinitions(Env env)
importDefinitions in class QuercusPagepublic AbstractFunction findFunction(StringValue name)
findFunction in class QuercusPagepublic InterpretedClassDef findClass(java.lang.String name)
findClass in class QuercusPagepublic java.util.HashMap<java.lang.String,ClassDef> getClassMap()
getClassMap in class QuercusPagepublic boolean setRuntimeFunction(AbstractFunction[] funList)
setRuntimeFunction in class QuercusPagepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class QuercusPage