Lines Matching refs:format_1

93     format_1(#c_literal{val=Val}, Ctxt);
95 format_1(#c_literal{val=Val}, Ctxt).
119 maybe_anno(Node, fun format_1/2, Ctxt).
121 format_1(#c_literal{val=[]}, _) -> "[]"; function
122 format_1(#c_literal{val=I}, _) when is_integer(I) -> integer_to_list(I); function
123 format_1(#c_literal{val=F}, _) when is_float(F) -> float_to_list(F); function
124 format_1(#c_literal{val=A}, _) when is_atom(A) -> core_atom(A); function
125 format_1(#c_literal{val=[H|T]}, Ctxt) -> function
126 format_1(#c_cons{hd=#c_literal{val=H},tl=#c_literal{val=T}}, Ctxt);
127 format_1(#c_literal{val=Tuple}, Ctxt) when is_tuple(Tuple) -> function
128 format_1(#c_tuple{es=[#c_literal{val=E} || E <- tuple_to_list(Tuple)]}, Ctxt);
129 format_1(#c_literal{anno=A,val=Bitstring}, Ctxt) when is_bitstring(Bitstring) -> function
131 format_1(#c_binary{anno=A,segments=Segs}, Ctxt);
132 format_1(#c_literal{anno=A,val=M},Ctxt) when is_map(M) -> function
138 format_1(#c_map{anno=A,arg=#c_literal{val=#{}},es=Cpairs},Ctxt);
139 format_1(#c_literal{val=F},_Ctxt) when is_function(F) -> function
144 format_1(#c_var{name={I,A}}, _) -> function
146 format_1(#c_var{name=V}, _) -> function
176 format_1(#c_binary{segments=Segs}, Ctxt) -> function
182 format_1(#c_tuple{es=Es}, Ctxt) -> function
187 format_1(#c_map{arg=#c_literal{val=M},es=Es}, Ctxt) function
193 format_1(#c_map{arg=Var,es=Es}, Ctxt) -> function
199 format_1(#c_map_pair{op=#c_literal{val=assoc},key=K,val=V}, Ctxt) -> function
201 format_1(#c_map_pair{op=#c_literal{val=exact},key=K,val=V}, Ctxt) -> function
203 format_1(#c_cons{hd=H,tl=T}, Ctxt) -> function
206 format_1(#c_values{es=Es}, Ctxt) -> function
208 format_1(#c_alias{var=V,pat=P}, Ctxt) -> function
211 format_1(#c_let{anno=Anno0,vars=Vs0,arg=A0,body=B}, #ctxt{clean=Clean}=Ctxt) -> function
243 format_1(#c_letrec{defs=Fs,body=B}, Ctxt) -> function
252 format_1(#c_seq{arg=A,body=B}, Ctxt) -> function
259 format_1(#c_case{arg=A,clauses=Cs}, Ctxt) -> function
269 format_1(#c_receive{clauses=Cs,timeout=T,action=A}, Ctxt) -> function
281 format_1(#c_fun{vars=Vs,body=B}, Ctxt) -> function
289 format_1(#c_apply{op=O,args=As}, Ctxt0) -> function
297 format_1(#c_call{module=M,name=N,args=As}, Ctxt0) -> function
307 format_1(#c_primop{name=N,args=As}, Ctxt0) -> function
315 format_1(#c_catch{body=B}, Ctxt) -> function
321 format_1(#c_try{arg=E,vars=Vs,body=B,evars=Evs,handler=H}, Ctxt) -> function
339 format_1(#c_module{name=N,exports=Es,attrs=As,defs=Ds}, Ctxt) -> function
428 format_guard_1(E, Ctxt) -> format_1(E, Ctxt). %Anno already done