org.python.compiler
Class LineNumberTable

java.lang.Object
  extended byorg.python.compiler.Attribute
      extended byorg.python.compiler.LineNumberTable

public class LineNumberTable
extends Attribute


Constructor Summary
LineNumberTable(ConstantPool pool)
           
 
Method Summary
 void addLine(int startpc, int lineno)
           
 int length()
           
 void write(DataOutputStream stream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineNumberTable

public LineNumberTable(ConstantPool pool)
                throws IOException
Method Detail

write

public void write(DataOutputStream stream)
           throws IOException
Specified by:
write in class Attribute
Throws:
IOException

addLine

public void addLine(int startpc,
                    int lineno)

length

public int length()