add $transit variable, which allows to use Parser in user-defined functions

Change-Id: Iaedd40ed43c4dac40b20bad4ca67e8ca66308951