lib/ast/ExprVisitor.cpp File Reference

#include "comma/ast/AttribExpr.h"
#include "comma/ast/AggExpr.h"
#include "comma/ast/ExprVisitor.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 nodes (Those with a definite kind).

Definition at line 21 of file ExprVisitor.cpp.


Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1