#NEWLINE# def evaluate( self , data , view = None ) : #NEWLINE# #INDENT# from glue import env #NEWLINE# references = self . _references #NEWLINE# cmd = _dereference ( self . _cmd , self . _references ) #NEWLINE# scope = vars ( env ) #NEWLINE# scope [ '__view' ] = data #NEWLINE# return eval ( cmd , vars ( env ) , locals ( ) )