harpoon.ClassFile
Interface HDataElement

All Known Implementing Classes:
ALIGN, CONST, DATUM, LABEL, NAME, SEGMENT, SEQ

public interface HDataElement

HDataElement is an interface that all views of the data items in an HData must implement. Items in an HData must be tracable to a particular source file, and possess an unique numeric identifier.

Version:
$Id: HDataElement.java,v 1.2 2002/02/25 21:03:03 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Method Summary
 int getID()
          Returns a unique numeric identifier for this element.
 String getSourceFile()
          Get the original source file name that this element is derived from.
 

Method Detail

getSourceFile

String getSourceFile()
Get the original source file name that this element is derived from.


getID

int getID()
Returns a unique numeric identifier for this element.