Skip to content

CPPAstInterface::IsMemberAccess

Check if n is a data member access operator; If yes, grab the object and the field name

Synopsis

Declared in <src/midend/astUtil/astInterface/CPPAstInterface.h>

bool
IsMemberAccess(
    AstNodePtr const& n,
    AstNodePtr* obj = 0,
    std::string* fieldname = 0);

Created with MrDocs