pyre.calc.Mapping¶
Module Contents¶
-
class
pyre.calc.Mapping.Mapping(operands, **kwds)¶ Mix-in class that forms the basis of the representation of mappings
Mappings are dictionaries with arbitrary keys whose values are nodes
-
category= mapping¶
-
getValue(self, **kwds)¶ Compute and return my value
-
setValue(self, value)¶ Add the {key, node} pair in {value} to the mapping
-
__getitem__(self, key)¶
-
__setitem__(self, key, node)¶
-
_substitute(self, current, replacement)¶ Adjust the operands by substituting {replacement} for {current} in the set of operands
-