def sign2map(a, var):
global lcb_map, cb_map<EOL>out_a = a<EOL>if isintent_out(var):<EOL><INDENT>for k in var['<STR_LIT>']:<EOL><INDENT>if k[:<NUM_LIT:4>]=='<STR_LIT>':<EOL><INDENT>out_a = k[<NUM_LIT:4>:]<EOL>break<EOL><DEDENT><DEDENT><DEDENT>ret={'<STR_LIT>':a,'<STR_LIT>':out_a}<EOL>ret['<STR_LIT>']=getctype(var)<EOL>intent_flags = []<EOL>for f, s in isintent_dict.items():<EOL><INDENT>if f(var): intent_flags.append('<STR_LIT>'%s)<EOL><DEDENT>if intent_flags:<EOL><INDENT>ret['<STR_LIT>'] = '<STR_LIT:|>'.join(intent_flags)<EOL><DEDENT>else:<EOL><INDENT>ret['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>if isarray(var): ret['<STR_LIT>']='<STR_LIT:N>'<EOL>elif ret['<STR_LIT>'] in c2buildvalue_map:<EOL><INDENT>ret['<STR_LIT>']=c2buildvalue_map[ret['<STR_LIT>']]<EOL><DEDENT>else: ret['<STR_LIT>']='<STR_LIT:O>'<EOL>ret['<STR_LIT>'], ret['<STR_LIT>']=getinit(a, var)<EOL>if hasinitvalue(var) and iscomplex(var) and not isarray(var):<EOL><INDENT>ret['<STR_LIT>'], ret['<STR_LIT>'] = markoutercomma(ret['<STR_LIT>'][<NUM_LIT:1>:-<NUM_LIT:1>]).split('<STR_LIT>')<EOL><DEDENT>if isexternal(var):<EOL><INDENT>ret['<STR_LIT>']=a<EOL>if a in lcb_map:<EOL><INDENT>ret['<STR_LIT>']=lcb_map[a]<EOL>ret['<STR_LIT>']=lcb2_map[lcb_map[a]]['<STR_LIT>']<EOL>ret['<STR_LIT>']=lcb2_map[lcb_map[a]]['<STR_LIT>']<EOL>ret['<STR_LIT>']=lcb2_map[lcb_map[a]]['<STR_LIT>']<EOL>ret['<STR_LIT>']=lcb2_map[lcb_map[a]]['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>ret['<STR_LIT>']=a<EOL>errmess('<STR_LIT>'%(a, list(lcb_map.keys())))<EOL><DEDENT><DEDENT>if isstring(var):<EOL><INDENT>ret['<STR_LIT>']=getstrlength(var)<EOL><DEDENT>if isarray(var):<EOL><INDENT>ret=dictappend(ret, getarrdims(a, var))<EOL>dim=copy.copy(var['<STR_LIT>'])<EOL><DEDENT>if ret['<STR_LIT>'] in c2capi_map:<EOL><INDENT>ret['<STR_LIT>']=c2capi_map[ret['<STR_LIT>']]<EOL><DEDENT>if debugcapi(var):<EOL><INDENT>il=[isintent_in, '<STR_LIT:input>', isintent_out, '<STR_LIT>',<EOL>isintent_inout, '<STR_LIT>', isrequired, '<STR_LIT>',<EOL>isoptional, '<STR_LIT>', isintent_hide, '<STR_LIT>',<EOL>iscomplex, '<STR_LIT>',<EOL>l_and(isscalar, l_not(iscomplex)), '<STR_LIT>',<EOL>isstring, '<STR_LIT:string>', isarray, '<STR_LIT>',<EOL>iscomplexarray, '<STR_LIT>', isstringarray, '<STR_LIT>',<EOL>iscomplexfunction, '<STR_LIT>',<EOL>l_and(isfunction, l_not(iscomplexfunction)), '<STR_LIT>',<EOL>isexternal, '<STR_LIT>',<EOL>isintent_callback, '<STR_LIT>',<EOL>isintent_aux, '<STR_LIT>',<EOL>]<EOL>rl=[]<EOL>for i in range(<NUM_LIT:0>, len(il), <NUM_LIT:2>):<EOL><INDENT>if il[i](var): rl.append(il[i+<NUM_LIT:1>])<EOL><DEDENT>if isstring(var):<EOL><INDENT>rl.append('<STR_LIT>'%(a, ret['<STR_LIT>']))<EOL><DEDENT>if isarray(var):<EOL><INDENT>if not isintent_c(var):<EOL><INDENT>var['<STR_LIT>'].reverse()<EOL>
varname,ctype,atype
init,init.r,init.i,pytype
vardebuginfo,vardebugshowvalue,varshowvalue
varrfromat
intent