class documentation

class GlobalContext: (source)

View In Hierarchy

Class to store global variable for other scope

Method __init__ Undocumented
Method get_latest_stmt return the latest statement in locals dict Raise exceptions.VariableNotExistStackError if it's not in locals Raise
Class Variable __slots__ Undocumented
Instance Variable locals Undocumented
Instance Variable ssa_record Undocumented
def __init__(self, ssa_record=None, locals=None): (source)

Undocumented

def get_latest_stmt(self, var): (source)

return the latest statement in locals dict Raise exceptions.VariableNotExistStackError if it's not in locals Raise

Parameters
var:strUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

locals = (source)

Undocumented

ssa_record = (source)

Undocumented