lib/ast/StmtVisitor.cpp File Reference

#include "comma/ast/StmtVisitor.h"
#include "comma/ast/Stmt.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 26 of file StmtVisitor.cpp.


Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1