You would use the function xform or xform_inv from the Transform class.
I'm not sure if you can do directly from local to global space (maybe with global_transform, I haven't tried). But for going one level up you would do.
var next_pos = your_node.transform.xform_inv(local_pos)