SeExpr
|
#include <ExprWalker.h>
Public Types | |
typedef Examiner< constnode > | T_EXAMINER |
typedef T_EXAMINER::T_NODE | T_NODE |
Public Member Functions | |
Walker (T_EXAMINER *examiner) | |
void | walk (T_NODE *examinee) |
Preorder walk. More... | |
Protected Member Functions | |
void | internalWalk (T_NODE *examinee) |
void | walkChildren (T_NODE *parent) |
Private Attributes | |
T_EXAMINER * | _examiner |
Definition at line 43 of file ExprWalker.h.
typedef Examiner<constnode> SeExpr2::Walker< constnode >::T_EXAMINER |
Definition at line 45 of file ExprWalker.h.
typedef T_EXAMINER::T_NODE SeExpr2::Walker< constnode >::T_NODE |
Definition at line 46 of file ExprWalker.h.
|
inline |
Definition at line 48 of file ExprWalker.h.
References SeExpr2::Walker< constnode >::_examiner, and SeExpr2::Examiner< constnode >::reset().
|
protected |
If examine returns false, do not recurse
Definition at line 36 of file ExprWalker.cpp.
void SeExpr2::Walker< constnode >::walk | ( | T_NODE * | examinee | ) |
Preorder walk.
Definition at line 30 of file ExprWalker.cpp.
Referenced by SeExpr2::Expression::debugPrintParseTree().
|
protected |
Definition at line 43 of file ExprWalker.cpp.
References SeExpr2::ExprNode::child(), and SeExpr2::ExprNode::numChildren().
|
private |
Definition at line 60 of file ExprWalker.h.
Referenced by SeExpr2::Walker< constnode >::Walker().