Class ArrayElementFieldLocation

All Implemented Interfaces:
Cloneable, Comparable<ProgramLocation>

public class ArrayElementFieldLocation extends OperandFieldLocation
  • Constructor Details

    • ArrayElementFieldLocation

      public ArrayElementFieldLocation(Program program, Address address, int[] componentPath, String displayValue, int elementIndex, int charOffset)
      Creates an ArrayElementFieldLocation
      Parameters:
      program - the program
      address - the address of the location
      componentPath - the data component path
      displayValue - the text being displayed in the text.
      elementIndex - the element of the array on the line.
      charOffset - the character position within the text.
    • ArrayElementFieldLocation

      public ArrayElementFieldLocation()
      Default constructor needed for restoring from XML.
  • Method Details

    • getElementIndexOnLine

      public int getElementIndexOnLine(Data firstDataOnLine)