#include <include/visitor.h>
Inheritance diagram for ComplexityFinder:
Definition at line 523 of file visitor.h.
Public Member Functions | |
ComplexityFinder (UserProc *p) | |
int | getDepth () |
virtual bool | visit (Location *e, bool &override) |
virtual bool | visit (Ternary *e, bool &override) |
virtual bool | visit (Binary *e, bool &override) |
virtual bool | visit (Unary *e, bool &override) |
Private Attributes | |
int | count |
UserProc * | proc |
|
|
|
Definition at line 528 of file visitor.h. References count. Referenced by Exp::getComplexityDepth(). |
|
Reimplemented from ExpVisitor. Definition at line 685 of file visitor.cpp. References UserProc::findFirstSymbol(), NULL, and proc. |
|
Reimplemented from ExpVisitor. Definition at line 698 of file visitor.cpp. References count. |
|
Reimplemented from ExpVisitor. Definition at line 697 of file visitor.cpp. References count. |
|
Reimplemented from ExpVisitor. Definition at line 696 of file visitor.cpp. References count. |
|
Definition at line 524 of file visitor.h. Referenced by getDepth(), and visit(). |
|
Definition at line 525 of file visitor.h. Referenced by visit(). |