lib/ast/DeclVisitor.cpp File Reference

#include "comma/ast/Decl.h"
#include "comma/ast/DeclVisitor.h"

Go to the source code of this file.

Defines

#define DISPATCH(TYPE, NODE)

Define Documentation

#define DISPATCH ( TYPE,
NODE   ) 
Value:
Ast::AST_ ## TYPE:               \
    visit ## TYPE(cast<TYPE>(NODE)); \
    break

Macro to help form switch dispatch tables. Note that this macro will only work with concrete node (those with a definite kind).

Definition at line 20 of file DeclVisitor.cpp.


Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1