|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.backend.ModuleElement
coins.backend.Data
Represent L-Data.
| Field Summary | |
LirNode[] |
components
Contents of (DATA) |
| Fields inherited from class coins.backend.ModuleElement |
module, root, sourceLineNo, symbol |
| Constructor Summary | |
Data(Module module,
ImList ptr)
Parse S-expression DATA description and convert to internal form |
|
Data(Module module,
Symbol sym,
LirNode value)
Create new constant/space/zeros object. |
|
| Method Summary | |
boolean |
apply(LocalTransformer xform)
Apply some transformation on DATA. |
boolean |
apply(LocalTransformer xform,
ImList args)
Apply some transformation on DATA with arguments. |
void |
printIt(java.io.PrintWriter out)
Dump internal data structure of the Data. |
void |
printIt(java.io.PrintWriter out,
LocalAnalyzer[] anals)
Dump internal data structure of the Data (Analysis ignored). |
void |
printStandardForm(java.io.PrintWriter out)
Print DATA in standard form. |
LirNode |
scalerValue()
Return the value if this Data is a scaler, null otherwise. |
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 LirNode[] components
| Constructor Detail |
public Data(Module module,
ImList ptr)
throws SyntaxError
public Data(Module module,
Symbol sym,
LirNode value)
| Method Detail |
public LirNode scalerValue()
public boolean apply(LocalTransformer xform,
ImList args)
public boolean apply(LocalTransformer xform)
public java.lang.Object toSexp()
toSexp in class ModuleElementpublic void printStandardForm(java.io.PrintWriter out)
printStandardForm in class ModuleElementpublic void printIt(java.io.PrintWriter out)
printIt in class ModuleElement
public void printIt(java.io.PrintWriter out,
LocalAnalyzer[] anals)
printIt in class ModuleElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||