pytuflow.Scope.explode

Contents

pytuflow.Scope.explode#

Scope.explode(neg=False)#

Explodes a Scope instance that may have multiple names into a list of Scope instances.

Parameters:

neg (bool, optional) – If True, will also retain the negative scope status.

Returns:

A list of Scope instances where each instance has a single name.

Return type:

list[Scope]