A directed graph includes a plurality of containers, where each container has
a
type value and is instantiated based on one of a plurality of container types.
Each action as instantiated includes an action method table comprising a plurality
of action methods. Each action when traversing the directed graph employs the type
value of an encountered container as an offset into the action method table thereof
to select the action method to be executed on the encountered container. During
run-time and prior to traversing the directed graph, an action is instantiated
if not already instantiated, and the method table of the action is expanded and
filled in based on any new container types in the system.