impunity.quantityNodeļƒ

class impunity.quantityNode.QuantityNode(node, unit=None)ļƒ

Bases: object

Node object with a unit attribute.

Attributes:
nodeTypeVar(ā€œNā€, bound=Optional[ast.expr], covariant=True)

Any type of expression found within an ast.

unitOptional[str]

Optional string representing a UoM.