translator
.
intermediateBuilder
.shifter
index
/home/yentl/UA/devs-eindwerk/translator/translator/intermediateBuilder/shifter.py
Classes
translator.intermediateBuilder.arithmeticWithoutCarry.ArithmeticWithoutCarry
(
translator.intermediateBuilder.arithmeticNode.ArithmeticNode
)
Shifter
class
Shifter
(
translator.intermediateBuilder.arithmeticWithoutCarry.ArithmeticWithoutCarry
)
Shifter
includes two inputs, data and dist, and it has one output, which is the result of shifting data by dist places
Method resolution order:
Shifter
translator.intermediateBuilder.arithmeticWithoutCarry.ArithmeticWithoutCarry
translator.intermediateBuilder.arithmeticNode.ArithmeticNode
translator.intermediateBuilder.node.Node
translator.intermediateBuilder.element.Element
builtins.object
Methods defined here:
__init__
(self)
Constructor
Methods inherited from
translator.intermediateBuilder.node.Node
:
bindOutputWithComp
(self, wire, infoTuple)
Binds the output of the comp that was directly connected to another components input
getAllElementsViaOuputConnected
(self)
Overwrites the parent function (but has the same meaning)
setExtraOutput
(self, originalWire, newWire)
Adds a wire to the output, because we found an extra input connected to this output
Data descriptors inherited from
translator.intermediateBuilder.element.Element
:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)