[BUGFIX] Re-add the missing method ParseNode.getLoc().