TestForParentsMatchingASTStructure¶
Synopsis¶
Declared in <src/midend/astDiagnostics/AstConsistencyTests.h>
class TestForParentsMatchingASTStructure
: public AstPrePostProcessing Base Classes¶
| Name | Description |
|---|---|
AstPrePostProcessing |
Member Functions¶
| Name |
|---|
TestForParentsMatchingASTStructureexplicit TestForParentsMatchingASTStructure( std::ostream& output, std::string const& prefix = ""); [constructor] |
checkbool check( SgNode* ast, size_t limit = 0); |
postOrderVisitvirtual void postOrderVisit(SgNode* node); [virtual] |
preOrderVisitvirtual void preOrderVisit(SgNode* node); [virtual] |
show_details_and_maybe_failvoid show_details_and_maybe_fail(SgNode* node); |
Static Member Functions¶
| Name |
|---|
teststatic void test(SgProject* project); |
Data Members¶
| Name |
|---|
limit |
nproblems |
output |
prefix |
stack |
Created with MrDocs