/** ** \file ast/default-visitor.hh ** \brief Traverse an Abstract Syntax Tree (w/o objects), doing nothing. */ #pragma once #include namespace ast { /** \brief Just visit the whole Ast tree (except object-related nodes). GenDefaultVisitor visits non-object-related node of the the whole Ast tree, but does nothing else. Beware, as there are no implementations visiting object-oriented constructs (classes, objects, methods), hence this class is abstract. ast::GenDefaultVisitor inherits virtually from ast::GenVisitor to allow diamond inheritance, e.g. so that a subclass of ast::GenDefaultVisitor can also inherit missing object-related implementations from another class (inheriting from ast::GenVisitor). \see ast::NonObjectVisitor for more information. */ template