Set the location information based on a function.
This handles all of the location functions like 'join', 'complement'
and 'order'.
Arguments:
o function - A LocationParser.Function object specifying the
function we are acting on.
o cur_feature - The feature to add information to.