sg::dispatch
uncovers the type of SgNode and passes it to an function "handle" in RoseVisitor. which should be overloaded with every possible target node. After the traversal, RoseVisitor should contain the intended return data.
Synopses
Declared in <SageIII/sageInterface/sageGeneric.h>
uncovers the type of SgNode and passes it to an function "handle" in RoseVisitor. which should be overloaded with every possible target node. After the traversal, RoseVisitor should contain the intended return data.
Return Value
a copy of the RoseVisitor object, that will contain the intended return data.
Template Parameters
Name |
Description |
RoseVisitor. |
The visitor that will be called back with the recovered type information. It must implement "handle." The handle function with the most suitable SgNode type will get invoked. |