#NEWLINE# def _pickle_node_state( node_state_wrapper ) : #NEWLINE# #INDENT# '\n    returns a picklable tuple of args to be passed to _unpickle_node_state\n    ' #NEWLINE# node_state = cython . declare ( NodeState ) #NEWLINE# node_state = node_state_wrapper . node_state #NEWLINE# attribs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# extra_attribs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# attribs [ 'has_value' ] = node_state . has_value #NEWLINE# attribs [ 'date' ] = node_state . date #NEWLINE# attribs [ 'value' ] = node_state . value #NEWLINE# attribs [ 'called' ] = node_state . called #NEWLINE# attribs [ 'callers' ] = node_state . callers #NEWLINE# attribs [ 'callees' ] = node_state . callees #NEWLINE# attribs [ 'override' ] = node_state . override #NEWLINE# if node_state . alt_context : #NEWLINE# #INDENT# extra_attribs [ 'alt_context_id' ] = node_state . alt_context . get_id ( ) #NEWLINE# #UNINDENT# if node_state . prev_alt_context : #NEWLINE# #INDENT# extra_attribs [ 'prev_alt_context_id' ] = node_state . prev_alt_context . get_id ( ) #NEWLINE# #UNINDENT# return ( node_state . ctx_id , node_state . dirty_flags , attribs , node_state_wrapper )