#NEWLINE# @ tornado . gen . coroutine #NEWLINE# def perform( self , ctx , propname , gentext ) : #NEWLINE# #INDENT# if ( ctx . genparams . get ( self . key , None ) == self . value ) : #NEWLINE# #INDENT# if ( self . truenode is not None ) : #NEWLINE# #INDENT# ( yield gentext . perform ( ctx , propname , propname . truenode ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . falsenode is not None ) : #NEWLINE# #INDENT# ( yield gentext . perform ( ctx , propname , self . falsenode ) )