|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdspl.backend.test.IntermediateTestCase
dspl.backend.test.HelloWorldv1
public class HelloWorldv1
HelloWorldv1 manually generates the intermediate representation
for milestone "HelloWorldv1".
HelloWorldv1:
L1 : int_array iA[5];
L2 : int_array iB[5];
L3 : int x;
L4 : x = 5;
L5 :
L6 : if (x==6) {
L7 : iA += 7;
L8 : }
L9 : else {
L10: iA = iA + iB;
L11: }
| Field Summary |
|---|
| Fields inherited from class dspl.backend.test.IntermediateTestCase |
|---|
firstInst, st |
| Constructor Summary | |
|---|---|
HelloWorldv1()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getTestCaseName()
Returns the test case name Example "HelloWorldv1"; |
| Methods inherited from class dspl.backend.test.IntermediateTestCase |
|---|
getFirstInstr, getSymbolTable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HelloWorldv1()
throws SymbolicException
SymbolicException| Method Detail |
|---|
public java.lang.String getTestCaseName()
IntermediateTestCase
getTestCaseName in class IntermediateTestCase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||