Added tempvar static function to Transcompiler