net.sf.farrago.fennel.calc
Class CalcProgramBuilder.Line
java.lang.Object
net.sf.farrago.fennel.calc.CalcProgramBuilder.Line
- All Implemented Interfaces:
- CalcProgramBuilder.Operand
- Enclosing class:
- CalcProgramBuilder
public static class CalcProgramBuilder.Line
- extends Object
- implements CalcProgramBuilder.Operand
Reference to a line number
line
Integer line
label
String label
CalcProgramBuilder.Line
CalcProgramBuilder.Line(int line)
CalcProgramBuilder.Line
CalcProgramBuilder.Line(String label)
toString
public String toString()
- Overrides:
toString
in class Object
getLabel
public final String getLabel()
setLine
public final void setLine(int line)
getLine
public final Integer getLine()
print
public final void print(PrintWriter writer)
- Description copied from interface:
CalcProgramBuilder.Operand
- Serializes itself or parts of itself for transport over the wire
- Specified by:
print
in interface CalcProgramBuilder.Operand