All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Lib.Krakatau.java.ast2.pyc Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
?
?HRc@sfddlmZddlmZdefd??YZdefd??YZdefd??YZd	S(
i(tast(tescapeStringt	MethodDefcBseZd?Zd?ZRS(cCs?|r|dnd|_|||_|_||_d|_|dkr`tt|_|_	n_|dkr?tt|_|_	t
j|jdf?|_n"tt|_|_	t
|?|_dS(Nt tssi(tflagstrtretTypet
paramDeclstbodytNonetcommenttTruetFalsetisStaticInitt
isConstructorRtTypeNametnametescape(tselftclass_tflagsRRRR((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyt__init__s		cCs?djd?|jD??}|jr.d}ng|jrn|jj?jd?d}dj|j||?}n'dj|j|j	j?|j|?}|j
r?dj|j
|?}n|jdkr?|d	S|d
|jj?SdS(Ns, css|]}|j?VqdS(N(tprint_(t.0tdecl((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pys	ststatict.i????s{}{}({})s{}{} {}({})s//{}
{}s;
s
(
tjoinRR
RRRt
rpartitiontformatRRR
RR	(RtargstrtheaderR((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyRs			'	(t__name__t
__module__RR(((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyRs	tFieldDefcBseZdd?Zd?ZRS(cCs_|r|dnd|_||_t|?|_|dkrCdntj|j|?|_dS(NRR(	Rttype_RRR	RtmakeCastExprttttexpr(RRR#RR&((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyR's	cCs_|jdk	r=dj|j|jj?|j|jj??Sdj|j|jj?|j?S(Ns
{}{} {} = {};s{}{} {};(R&R	RRR#RR(R((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyR-s.N(R R!R	RR(((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyR"&stClassDefcBseZd?Zd?ZRS(c	Cs?|r|dnd|_||_tj|df?|_|dk	r[tj|df?nd|_g|D]}tj|df?^qk|_||_||_	|dkr?d|_ndS(NRRisjava/lang/Object(
RtisInterfaceRRRR	tsupert
interfacestfieldstmethods(	RRR(RtsupercR*R+R,tiname((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyR3s	*+		cCs?d}|jr.djd?|jD??}n|jrm|rJ|d7}n|djd?|jD??7}ng|j?D]}d|^qz}|jj?jd?d}|jr?d	nd
}dj|j	||?}|j
r?|d|j
j?7}n|jrq|jrJ|j
dks#t
?|dd
jd?|jD??7}qq|dd
jd?|jD??7}n|dg|dg}dj|?S(NRs
css|]}|j?VqdS(N(R(Rtx((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pys	Ass

css|]}|j?VqdS(N(R(RR/((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pys	Ess    Ri????t	interfacetclasss{}{} {}s	 extends s, css|]}|j?VqdS(N(R(RR/((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pys	Qss implements css|]}|j?VqdS(N(R(RR/((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pys	Sss {t}(R+RR,t
splitlinesRRRR(RRR)R*R	tAssertionError(RtcontentstlinetindentedRtdefnameRtlines((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyR>s(		
##			''(R R!RR(((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyR'2s	N(	RRtstringescapeRRtobjectRR"R'(((s9/home/alex/projects/github/krakatau/Krakatau/java/ast2.pyts"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy