net.sf.farrago.fennel.calc
Class CalcProgramBuilder.Line

java.lang.Object
  extended by 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


Field Summary
(package private)  String label
           
(package private)  Integer line
           
 
Constructor Summary
CalcProgramBuilder.Line(int line)
           
CalcProgramBuilder.Line(String label)
           
 
Method Summary
 String getLabel()
           
 Integer getLine()
           
 void print(PrintWriter writer)
          Serializes itself or parts of itself for transport over the wire
 void setLine(int line)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

Integer line

label

String label
Constructor Detail

CalcProgramBuilder.Line

CalcProgramBuilder.Line(int line)

CalcProgramBuilder.Line

CalcProgramBuilder.Line(String label)
Method Detail

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