|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.backend.ModuleElement
Common attributes of Function/Data, components of Module.
| Field Summary | |
Module |
module
Module this element belongs to |
Root |
root
Collection of global variables. |
int |
sourceLineNo
Source line position. |
SymStatic |
symbol
Symbol table entry of this element. |
| Constructor Summary | |
(package private) |
ModuleElement(Module module,
java.lang.String name)
Initialize fields. |
(package private) |
ModuleElement(Module module,
SymStatic symbol)
Initialize fields. |
| Method Summary | |
abstract void |
printIt(java.io.PrintWriter out)
Print for debugging. |
abstract void |
printIt(java.io.PrintWriter out,
LocalAnalyzer[] anals)
Print for debugging with specified analysis. |
abstract void |
printStandardForm(java.io.PrintWriter out)
Print in standard form. |
abstract java.lang.Object |
toSexp()
Convert to external LIR format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final Module module
public final Root root
public final SymStatic symbol
public final int sourceLineNo
| Constructor Detail |
ModuleElement(Module module,
java.lang.String name)
throws SyntaxError
ModuleElement(Module module,
SymStatic symbol)
| Method Detail |
public abstract java.lang.Object toSexp()
public abstract void printStandardForm(java.io.PrintWriter out)
public abstract void printIt(java.io.PrintWriter out)
public abstract void printIt(java.io.PrintWriter out,
LocalAnalyzer[] anals)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||