Class VariableXRefFieldLocation

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class VariableXRefFieldLocation
    extends VariableLocation
    The VariableXRefFieldLocation class provides specific information about the variable's cross reference field within a program location.
    • Constructor Detail

      • VariableXRefFieldLocation

        public VariableXRefFieldLocation​(Program program,
                                         Variable var,
                                         Address refAddr,
                                         int index,
                                         int charOffset)
        Construct a new VariableXRefFieldLocation object.
        var - the variable
        refAddr - the reference address.
        index - the index of the XREF (tells which XREF).
        charOffset - the character position within the XREF.
        the - program of the location
      • VariableXRefFieldLocation

        public VariableXRefFieldLocation()
        Should only be used by XML restoration.
    • Method Detail

      • getIndex

        public int getIndex()
        Returns the index of the XREF in the list.
      • getReferenceAddress

        public Address getReferenceAddress()
        Returns the reference address at this location.
      • toString

        public java.lang.String toString()
        Returns a String representation of this location.
        toString in class VariableLocation