net.sf.farrago.fennel.calc
Class CalcProgramBuilder.Instruction
java.lang.Object
net.sf.farrago.fennel.calc.CalcProgramBuilder.Instruction
- Enclosing class:
- CalcProgramBuilder
class CalcProgramBuilder.Instruction
- extends Object
Represents an instruction and its operands
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
def
private CalcProgramBuilder.InstructionDef def
operands
private CalcProgramBuilder.Operand[] operands
comment
private String comment
lineNumber
private Integer lineNumber
CalcProgramBuilder.Instruction
public CalcProgramBuilder.Instruction(CalcProgramBuilder.InstructionDef opCode,
CalcProgramBuilder.Operand[] operands)
print
final void print(PrintWriter writer)
getOperands
public final CalcProgramBuilder.Operand[] getOperands()
getComment
public String getComment()
setComment
public void setComment(String comment)
setLineNumber
public void setLineNumber(int lineNumber)