SubtractionNode

Two's complement subtraction operation (works for both signed and unsigned integers).

Wraps around on overflow.

Members

Functions

opEquals
bool opEquals(const(SubtractionNode) other)

Equivalence <=> structural equality.

opIndex
inout(InEdge)* opIndex(InEdge.ID slot)

See Node.opIndex.

toHash
hash_t toHash()

Semantic hash.

Properties

inEdges
InEdgeIterator!Callable inEdges [@property getter]

Provides an iterator over this node's in-edges.

outEdges
OutEdgeIterator!Callable outEdges [@property getter]

Provides an iterator over this node's out-edges.

Static functions

dispose
void dispose(SubtractionNode* self)

Frees all resources allocated by this node and sets it to an uninitialized state.

initialize
err_t initialize(SubtractionNode* self)

Initializes a subtraction node.

Variables

lhs
OutEdge lhs;

Left-hand-side operand.

result
InEdge result;

Result of the subtraction.

rhs
OutEdge rhs;

Right-hand-side operand.

Mixed In Members

From mixin NodeInheritance

opPostMove
void opPostMove(const(This) old)

Post-move adjusts in-edge slots' owner pointer.

See Also