loc_new()
instantiates a newloc
node.loc_type()
checks if the node is aloc
node.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>
.