class documentation
class FrameState(utils.ContextWeakrefMixin): (source)
Immutable state object, for attaching to opcodes.
Class Method | init |
Undocumented |
Method | __init__ |
Undocumented |
Method | __setattribute__ |
Undocumented |
Method | change |
Undocumented |
Method | connect |
Undocumented |
Method | forward |
Create a new CFG Node connected to the current cfg node. |
Method | merge |
Merge with another state. |
Method | peek |
Get a value `n` entries down in the stack, without changing the stack. |
Method | pop |
Pop a value from the value stack. |
Method | pop |
Pop a value from the value stack and discard it. |
Method | pop |
Pop a block from the block stack. |
Method | popn |
Return n values, ordered oldest-to-newest. |
Method | push |
Push value(s) onto the value stack. |
Method | push |
Push a block on to the block stack. |
Method | rotn |
Rotate the top n values by one. |
Method | set |
Undocumented |
Method | set |
Replace second element of data stack with value. |
Method | set |
Undocumented |
Method | set |
Replace top of data stack with value. |
Method | set |
Undocumented |
Method | top |
Undocumented |
Method | topn |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | block |
Undocumented |
Instance Variable | data |
Undocumented |
Instance Variable | exception |
Undocumented |
Instance Variable | node |
Undocumented |
Instance Variable | why |
Undocumented |
Inherited from ContextWeakrefMixin
:
Instance Variable | ctx |
Undocumented |
Property | ctx |
Undocumented |
Create a new CFG Node connected to the current cfg node. Args: new_name: A name for the new node. condition: A cfg.Binding representing the condition that needs to be true for this node to be reached. Returns: A new state which is the same as this state except for the node, which is the new one.