Class AstTests#
Defined in File AstConsistencyTests.h
Class Documentation#
-
class AstTests#
Public Static Functions
-
static bool isPrefix(std::string prefix, std::string s)#
-
static unsigned int numPrefix(std::string prefix, std::vector<std::string> vs)#
-
static unsigned int numSuccContainers(SgNode *node)#
-
static unsigned int numSingleSuccs(SgNode *node)#
-
static bool isProblematic(SgNode *node)#
-
static void runAllTests(SgProject *sageProject)#
Test codes that traverse the AST.
-
static bool isCorrectAst(SgProject *sageProject)#
-
static bool isPrefix(std::string prefix, std::string s)#