Package bap :: Module bir :: Class Sub
[hide private]
[frames] | no frames]

Class Sub

source code

object --+        
         |        
   adt.ADT --+    
             |    
          Term --+
                 |
                Sub

Sub(id,Attrs(...),name,Args(...),Blks(...)) A subroutine has a sequence of arguments and basic blocks

Instance Methods [hide private]

Inherited from adt.ADT: __cmp__, __init__, __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  args
a list of subroutine arguments
  blks
subroutine basic blocks, the first is the entry
  name
subroutine name

Inherited from Term: attrs, id

Inherited from object: __class__

Property Details [hide private]

args

a list of subroutine arguments

Get Method:
unreachable.args(self) - a list of subroutine arguments

blks

subroutine basic blocks, the first is the entry

Get Method:
unreachable.blks(self) - subroutine basic blocks, the first is the entry

name

subroutine name

Get Method:
unreachable.name(self) - subroutine name