// file : cli/traversal/class.hxx // author : Boris Kolpackov // license : MIT; see accompanying LICENSE file #ifndef CLI_TRAVERSAL_CLASS_HXX #define CLI_TRAVERSAL_CLASS_HXX #include #include namespace traversal { struct inherits: edge { inherits () {} inherits (node_dispatcher& n) {node_traverser (n);} virtual void traverse (type&); }; struct class_: scope_template { virtual void traverse (type&); virtual void pre (type&); virtual void inherits (type&); virtual void inherits (type&, edge_dispatcher&); virtual void post (type&); }; } #endif // CLI_TRAVERSAL_CLASS_HXX