* @brief File of NamedDecl * @details */
| 10 | * @details |
| 11 | */ |
| 12 | class FunctionNode { |
| 13 | public: |
| 14 | FunctionNode(const llvm::Function &Func, bool IsTestBody, |
| 15 | bool Environment = false); |
| 16 | FunctionNode(Json::Value JsonValue); |
| 17 | |
| 18 | std::string getClassName() const; |
| 19 | std::string getFunctionName() const; |
| 20 | const llvm::Function *getIRFunction() const; |
| 21 | std::string getName() const; |
| 22 | bool isEnvironment() const; |
| 23 | bool isTestBody() const; |
| 24 | Json::Value getJson() const; |
| 25 | |
| 26 | private: |
| 27 | const llvm::Function *IRFunc = nullptr; |
| 28 | std::string Name; |
| 29 | std::string ClassName; |
| 30 | std::string FunctionName; |
| 31 | bool TestBody; |
| 32 | bool Environment; |
| 33 | }; |
| 34 | } // namespace ftg |
| 35 | |
| 36 | #endif // FTG_TCANALYSIS_FUNCTIONNODE_H |
no outgoing calls