10 #ifndef _EMBEDDED_RPC__ASTWALKER_H_ 11 #define _EMBEDDED_RPC__ASTWALKER_H_ 111 template <
typename D>
169 #endif // _EMBEDDED_RPC__ASTWALKER_H_ std::string m_fileName
Stores name of file from which AST was built.
Definition: AstWalker.h:77
AstWalker()=default
default constructor
virtual void walk(AstNode *node)
This function walk the AstNode depth-first and invoke handler methods.
Definition: AstWalker.cpp:29
virtual ~AstWalker()=default
destructor
Homogeneous AST node class.
Definition: AstNode.h:35
Performs a depth-first walk of an AST.
Definition: AstWalker.h:41
void dispatch(AstNode *node)
This function invoke the appropriate handler method for the node's token type..
Definition: AstWalker.cpp:49
Specifier type to select bottom-up handler using ADL.
Definition: AstWalker.h:81
AstWalker(std::string inputFile)
Constructor.
Definition: AstWalker.h:56
virtual void startWalk(AstNode *node)
This function walk the AstNode depth-first and invoke handler methods.
Definition: AstWalker.cpp:20
Specifier type to select top-down handler using ADL.
Definition: AstWalker.h:78