ConstantNode

Constructs a constant value of a certain type.

Members

Functions

opEquals
bool opEquals(const(ConstantNode) rhs)

Equivalence check.

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(ConstantNode* self)

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

initialize
err_t initialize(ConstantNode* self, ulong literal)

Initializes a constant node.

Variables

value
InEdge value;

The constant's (run-time) value.

Mixed In Members

From mixin NodeInheritance

opPostMove
void opPostMove(const(This) old)

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

See Also