Adapted to romval of expression function getLocalName().