Defines an interface for the visitor of the model elements.
The Visitor follows a hierarchical visitor pattern (see http://c2.com/cgi/wiki?HierarchicalVisitorPattern) what enables to track entering and leaving composite entities - assemblies and instances.
optionalvisitAssemblyEnter(assembly):boolean
Defines logic that will be invoked upon entering the assembly, before visit its children.
Assembly's children will be visited if returns true or stay undefined.
Visited assembly.
boolean
optionalvisitAssemblyLeave(assembly):void
Defines logic that will be invoked before leaving the assembly, after visit its children.
Visited assembly.
void
optionalvisitInstanceEnter(instance):boolean
Defines logic that will be invoked upon entering the instance, before visit its children.
Instance's children will be visited if returns true or stay undefined.
Visited instance.
boolean
optionalvisitInstanceLeave(instance):void
Defines logic that will be invoked before leaving the instance, after visit its children.
Visited instance.
void
optionalvisitPart(part):void
Defines logic that will be invoked for the visited part.
Visited part.
void