Registers the location of this node within the document handled by context.
context where location data is stored
location to set