Skip to content

TestForParentsMatchingASTStructure

Synopsis

Declared in <src/midend/astDiagnostics/AstConsistencyTests.h>

class TestForParentsMatchingASTStructure
    : public AstPrePostProcessing

Base Classes

Name Description
AstPrePostProcessing

Member Functions

Name
TestForParentsMatchingASTStructure
explicit TestForParentsMatchingASTStructure( std::ostream& output, std::string const& prefix = ""); [constructor]
check
bool check( SgNode* ast, size_t limit = 0);
postOrderVisit
virtual void postOrderVisit(SgNode* node); [virtual]
preOrderVisit
virtual void preOrderVisit(SgNode* node); [virtual]
show_details_and_maybe_fail
void show_details_and_maybe_fail(SgNode* node);

Static Member Functions

Name
test
static void test(SgProject* project);

Data Members

Name
limit
nproblems
output
prefix
stack

Created with MrDocs