loc_new()instantiates a newlocnode.loc_type()checks if the node is alocnode.loc_<child>_get()returns the<child>node ofloc.loc_<child>_set()sets the new<child>and deletes the old<child>.loc_<child>_rep()sets the new<child>and returns the old<child>.