Lib.Krakatau.java.variablemerge.pyc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krakatau-lib Show documentation
Show all versions of krakatau-lib Show documentation
Assembler, disassebmler, decompiler and compiler tools library for Java.
?
?HRc @ sy d d l Z d d l m Z m Z m Z m Z m Z m Z d d l m Z d d l
m Z m Z d d ? Z
d ? Z d S(
i????Ni ( t SEBlockItemt SEScopet SEIft SESwitcht SETryt SEWhilei ( t
graph_util( t ssa_opst ssa_jumpsc C s` t | t ? rF | j } | j | ? x4| D] } | j | ? q, Wnt | t ? r x| j D] } t | | | | ? q_ Wn? t | t ? rt | j d | | | ? | j
d k r? | j d j | j
t
f } | | | f 7} n t | j d | | | ? nX t | t t f ? r2t | j | | | ? n x' | j ? D] } t | | | | ? q?Wd S( Ni i ( t
isinstanceR t nodet appendt addR t itemst visitItemR t scopest catchvart Nonet
entryBlockt FalseR R t headt getScopes( t currentt nodest cdictt catchesR
t cst itemt cvart scope( ( sB /home/alex/projects/github/krakatau/Krakatau/java/variablemerge.pyR s$
c s? g } t j t ? } t | | | ? t j t ? ? x?| D]?} | j } i } | d k r? | j r? t | j d t j ? r? t | j
t j ? r? | j d j
d } | | t f | | | t f