#NEWLINE# def stackNextFrame( self , label , scopetype , frametype = 'none' , alwaysinfo = None , condition = None , module = False , functioncall = False , taskcall = False , generate = False , always = False , initial = False , loop = None , loop_iter = None ) : #NEWLINE# #INDENT# current = self . frames . getCurrent ( ) #NEWLINE# scopelabel = ScopeLabel ( label , scopetype , loop ) #NEWLINE# nextscope = ( current + scopelabel ) #NEWLINE# if ( not self . frames . hasFrame ( nextscope ) ) : #NEWLINE# #INDENT# current = self . frames . addFrame ( scopelabel , frametype = frametype , alwaysinfo = alwaysinfo , condition = condition , module = module , functioncall = functioncall , taskcall = taskcall , generate = generate , always = always , initial = initial , loop = loop , loop_iter = loop_iter ) #NEWLINE# #UNINDENT# self . frames . setCurrent ( nextscope ) #NEWLINE# new_current = self . frames . getCurrent ( ) #NEWLINE# self . copyFrameInfo ( new_current ) #NEWLINE# return current