code: public boolean areOffsetAndExtentEqual( IParseTree location )
    {
      return location != null &&
             location.getOffset() == getOffset() &&
             location.getExtent() == getExtent();
    }
docs: Is just the physical location equal?
  
  @param location Location to check
  
  @return True if the given physical location's offset and extents are equal to this one's