<s> """<STR_LIT>""" <EOL> class BasicBlock ( object ) : <EOL> """<STR_LIT>""" <EOL> ENTRY = <NUM_LIT:1> <EOL> IMPLICIT_RETURN = <NUM_LIT:2> <EOL> UNKNOWN = <NUM_LIT:3> <EOL> LOOP = <NUM_LIT:4> <EOL> IF = <NUM_LIT:5> <EOL> EXCEPT = <NUM_LIT:6> <EOL> def __init__ ( self , kind , decl , index ) : <EOL> self . _kind = kind <EOL> self . _decl = decl <EOL> self . _index = index <EOL> self . _length = <NUM_LIT:0> <EOL> self . _jumps = set ( ) <EOL> self . _end_target = - <NUM_LIT:1> <EOL> self . _fallthrough = False <EOL> self . _has_return_path = False <EOL> @ property <EOL> def kind ( self ) : <EOL> return self . _kind <EOL> @ kind . setter <EOL> def kind ( self , value ) : <EOL> self . _kind = value <EOL> @ property <EOL> def decl ( self ) : <EOL> return self . _decl <EOL> @ decl . setter <EOL> def decl ( self , value ) : <EOL> self . _decl = value <EOL> @ property <EOL> def index ( self ) : <EOL> return self . _index <EOL> @ index . setter <EOL> def index ( self , value ) : <EOL> self . _index = value <EOL> @ property <EOL> def length ( self ) : <EOL> return self . _length <EOL> @ length . setter <EOL> def length ( self , value ) : <EOL> assert value >= <NUM_LIT:0> <EOL> self . _length = value <EOL> @ property <EOL> def fallthrough ( self ) : <EOL> return self . _fallthrough <EOL> @ fallthrough . setter <EOL> def fallthrough ( self , value ) : <EOL> self . _fallthrough = value <EOL> @ property <EOL> def has_return_path ( self ) : <EOL> return self . _has_return_path <EOL> @ has_return_path . setter <EOL> def has_return_path ( self , value ) : <EOL> self . _has_return_path = value <EOL> @ property <EOL> def jumps ( self ) : <EOL> return self . _jumps <EOL> def clear_jumps ( self ) : <EOL> self . _jumps = set ( ) <EOL> def add_jump ( self , jump_index , branch_kind ) : <EOL> self . _jumps . add ( ( jump_index , branch_kind ) ) <EOL> @ property <EOL> def end_target ( self ) : <EOL> return self . _end_target <EOL> @ end_target . setter <EOL> def end_target ( self , value ) : <EOL> self . _end_target = value <EOL> def __repr__ ( self ) : <EOL> end_target = '<STR_LIT>' <EOL> if self . end_target > - <NUM_LIT:1> : <EOL> end_target = '<STR_LIT>' % self . end_target <EOL> return '<STR_LIT>' % ( self . kind , self . index , ( self . index + self . length ) , self . jumps , end_target ) </s>
