#NEWLINE# @ classmethod #NEWLINE# def get_as_var( cls , tokens ) : #NEWLINE# #INDENT# 'Returns context variable from `as` template tag clause if any.\n\n         Modifies tokens inplace.\n\n        :param tokens:\n        :rtype: None|str\n        ' #NEWLINE# as_var = None #NEWLINE# if ( tokens [ ( - 2 ) ] == 'as' ) : #NEWLINE# #INDENT# as_var = tokens [ ( - 1 ) ] #NEWLINE# tokens [ ( - 2 ) : ] = [ ] #NEWLINE# #UNINDENT# return as_var