com.caucho.quercus.program
Class ProClassDef
java.lang.Object
com.caucho.quercus.program.ClassDef
com.caucho.quercus.program.InterpretedClassDef
com.caucho.quercus.program.ProClassDef
- All Implemented Interfaces:
- InstanceInitializer
public class ProClassDef
- extends InterpretedClassDef
Represents an interpreted PHP class definition.
| Fields inherited from class com.caucho.quercus.program.InterpretedClassDef |
_call, _comment, _constMap, _constructor, _destructor, _fieldMap, _functionMap, _getField, _hasNonPublicMethods, _invoke, _isAbstract, _isFinal, _isInterface, _isset, _parseIndex, _setField, _staticFieldMap, _toString, _unset |
|
Constructor Summary |
ProClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList,
int index)
|
| Methods inherited from class com.caucho.quercus.program.InterpretedClassDef |
addConstant, addFunction, addStaticValue, addStaticValue, addValue, addValue, fieldSet, findConstant, findConstructor, functionSet, get, getComment, getCompilationName, getFieldComment, getHasNonPublicMethods, getStaticFieldComment, init, initClass, initInstance, isAbstract, isDeclaredField, isFinal, isInterface, isTopScope, setAbstract, setComment, setConstructor, setFinal, setInterface, setTopScope, staticFieldSet |
| Methods inherited from class com.caucho.quercus.program.ClassDef |
addInterface, addInterfaces, callNew, callNew, createObject, getCall, getExtension, getInterfaces, getLocation, getName, getParentName, hasNonPublicMethods, init, init, isA, loadClassDef, newInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProClassDef
public ProClassDef(Location location,
java.lang.String name,
java.lang.String parentName,
java.lang.String[] ifaceList,
int index)
analyze
public void analyze(QuercusProgram program)
- Analyzes the class
generate
public void generate(PhpWriter out)
throws java.io.IOException
- Generates the class.
- Throws:
java.io.IOException
generateInit
public void generateInit(PhpWriter out,
boolean useEnv)
throws java.io.IOException
- Throws:
java.io.IOException
generateInit
public void generateInit(PhpWriter out)
throws java.io.IOException
- Generates the class initialization.
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class ClassDef