CPPAstInterface¶
Synopsis¶
Declared in <src/midend/astUtil/astInterface/CPPAstInterface.h>
class CPPAstInterface
: public AstInterface Base Classes¶
| Name | Description |
|---|---|
AstInterface | provides an abstract interface to access/modify AST nodes. |
Member Functions¶
| Name | Description |
|---|---|
CPPAstInterfaceCPPAstInterface(AstInterface& fa); [constructor] | Constructors |
CreateFunctionCallAstNodePtr CreateFunctionCall( AstNodePtr const& func, AstInterface::AstNodeList const& args); | |
IsMemberAccessbool IsMemberAccess( AstNodePtr const& n, AstNodePtr* obj = 0, std::string* fieldname = 0); | Check if (n) is a data member access operator; If yes, grab the object and the field name |
IsMemberFunctionCallbool IsMemberFunctionCall( AstNodePtr const& n, AstNodePtr* obj = 0, std::string* funcname = 0, AstNodePtr* access = 0, AstInterface::AstNodeList* args = 0); |
Created with MrDocs