Lines Matching refs:node
21 // It invokes VisitNode on each AST node, before proceeding with its subtrees.
22 // It invokes VisitExpression (after VisitNode) on each AST node that is an
41 bool VisitNode(AstNode* node) { return true; }
42 bool VisitExpression(Expression* node) { return true; }
49 #define DECLARE_VISIT(type) void Visit##type(type* node);
66 #define PROCESS_NODE(node) do { \
67 if (!(this->impl()->VisitNode(node))) return; \
70 #define PROCESS_EXPRESSION(node) do { \
71 PROCESS_NODE(node); \
72 if (!(this->impl()->VisitExpression(node))) return; \