Class VariableNameFieldLocation

All Implemented Interfaces:
Cloneable, Comparable<ProgramLocation>

public class VariableNameFieldLocation extends VariableLocation
The VariableNameFieldLocation class provides specific information about the variable name field within a program location.
  • Constructor Details

    • VariableNameFieldLocation

      public VariableNameFieldLocation(Program program, Address locationAddr, Variable var, int charOffset)
      Construct a new VariableNameFieldLocation object.
      Parameters:
      program - the program of the location
      locationAddr - the address of the listing location (i.e., referent code unit)
      var - the variable the name is for.
      charOffset - the position within the function name string for this location.
    • VariableNameFieldLocation

      public VariableNameFieldLocation(Program program, Variable var, int charOffset)
      Construct a new VariableNameFieldLocation object. Variable function entry point is the assumed listing location (i.e., referent code unit). Care should be taken if variable corresponds to an EXTERNAL function.
      Parameters:
      program - the program of the location
      var - the variable the name is for.
      charOffset - the position within the function name string for this location.
    • VariableNameFieldLocation

      public VariableNameFieldLocation()
      Should only be used by XML restoration.
  • Method Details