support parsing of map/grep function