|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.CCompilationUnit
public class CCompilationUnit
This class represents a compilation unit
Constructor Summary | |
---|---|
CCompilationUnit(String packageName,
JClassImport[] importedClasses,
JPackageImport[] importedPackages,
Hashtable<String,CClassType> loadedClasses)
Construct a compilation unit context. |
Method Summary | |
---|---|
Object |
deepClone()
Returns a deep clone of this object. |
protected void |
deepCloneInto(CCompilationUnit other)
Clones all fields of this into |
CClassType |
lookupClass(CClass caller,
String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CCompilationUnit(String packageName, JClassImport[] importedClasses, JPackageImport[] importedPackages, Hashtable<String,CClassType> loadedClasses)
Method Detail |
---|
public CClassType lookupClass(CClass caller, String name) throws UnpositionedError
caller
- the class of the caller
UnpositionedError
- this error will be positioned soonpublic Object deepClone()
deepClone
in interface DeepCloneable
protected void deepCloneInto(CCompilationUnit other)
other
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |