|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.Compiler.Statement
SFE.Compiler.InputStatement
public class InputStatement
A class for representing input statement for the final output circuit.
Field Summary | |
---|---|
static java.util.Vector |
inputFormat
|
Method Summary | |
---|---|
void |
buildUsedStatementsHash()
adds this input statement to the statements being used to calculate the output circuit. |
Statement |
duplicate()
dammy - returns this. |
java.lang.String |
getName()
Returns a string representation of this InputStatement's name. |
int |
getOutputLine()
Returns the output line in the output circuit of this assignmnet statement. |
BlockStatement |
multi2SingleBit(java.lang.Object obj)
Transforms this multibit InputStatement into singlebit statements and returns the result. |
void |
optimizePhaseI()
Optimizes the InputStatement - phase I |
void |
optimizePhaseII(java.util.Vector newBody)
Optimizes the InputStatement - phase II |
void |
setOutputLine(int line)
Sets the output line of this assignment statement. |
void |
toCircuit(java.io.PrintWriter circuit)
Prints this AssignmentStatement into the circuit. |
java.lang.String |
toString()
Returns a string representation of the object. |
Statement |
uniqueVars()
Unique vars transformations. |
Methods inherited from class SFE.Compiler.Statement |
---|
hasUnaryOperator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.util.Vector inputFormat
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public int getOutputLine()
public void setOutputLine(int line)
line
- the line number in the output.public void toCircuit(java.io.PrintWriter circuit)
circuit
- the circuit output file.public void optimizePhaseI()
public void optimizePhaseII(java.util.Vector newBody)
public void buildUsedStatementsHash()
public BlockStatement multi2SingleBit(java.lang.Object obj)
multi2SingleBit
in interface Multi2SingleBit
obj
- not needed (null).
public Statement uniqueVars()
uniqueVars
in class Statement
public Statement duplicate()
duplicate
in class Statement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |