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

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

There is a newer version: 1.1
Show newest version
?
?HRc@s?ddlZddlmZmZmZmZmZddlmZddlm	Z	ej
dd?Zd\ZZ
ZZd?Zd
?Zd?Zd?Zd?Zd?Zd?ZdS(i????Ni(tIntTTtShortTTtCharTTtByteTTtBoolTTi(tast(t
graph_utiltmask_ttconststvarsiicCs?t|tj?r?||ksD|jddkrz|jddkrz|jdtdk}|jj|rptnt?q?|j	j|?nIt|tj
?s?t?|jtkr?|j
dkr?|jjt?ndS(Nis.bexpri(ii(t
isinstanceRtLocaltdtypeRRtappendtBOOLtBYTER	tLiteraltAssertionErrorRtval(texprtmasktarg_varstisbool((s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pyt	visitLeaf
s2cCs^xW|jD]L}x!|j?D]}t||?qW|jdk	r
|||j?q
q
WdS(N(t
statementst	getScopest
visitExprsRtNone(tscopetcallbacktitemtsub((s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pyRs
c	s?i}tj|?fd??}x?|D]?}t}xe|D]]}x?|jD]}||M}qOWx2?|jD]#}||krq|||M}qqqqWq;Wx|D]}||| s(Rt	tarjanSCCtTOPRR	(	tvarlistR!tvalstorderedtsccRtvartcR ((R!s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pyt	propagates


cs?tj|?fd??}gt|?D]}||tkr(|^q(}xG|D]?}x6?|jD]'}||tkre||||> >>>(R2R3RR
R
RRRRR4R8R5R6R7RRRRtTernarytBinaryInfixtopstrRR9R:(RRR;R<R(Rtinstanceofstint_ttsR!R%(s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pytaddSourceScalaras0
-#$cs?t|tj?ro|j\}}|j?kr?tj|j|j?sl|tj|j|?f|_qlq?n?t|tj?r?|j\}}|jtks?|jtkr?|j	dks?t
?g|jD]}tjt|?^q?|_q?ndS(Ns== != & | ^(R
Rt
AssignmentR3RtisPrimativeAssignabletmakeCastExprRFRRGR(RRR;R<tatbR (RI(s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pytfixExpr?s'(
R>R?RRRRRRR+RR1R@R(RARRJR&R)RP((RRHRIR!R%s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pyt
fixScalarsZs 

cCs*t|?}t||?t||?dS(N(t	frozensetRCRQ(RAR((s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pytboolizeVars?s
(sconstssvars(iiii(R>tssa.objtypesRRRRRtRRt
namedtupleRR.RRR$RRR+R1RCRQRS(((s</home/alex/projects/github/krakatau/Krakatau/java/boolize.pyts(	
			
	#	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy