Skip to content

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

CPPAstInterface [constructor]

Constructors

CreateFunctionCall

GetVarScope

IsMemberAccess

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

IsMemberFunctionCall

IsPlusPlus

IsPointerVariable

Check whether n is a pointer or reference variable reference.

Non-Member Functions

Name

Description

ReadAstTraverse

Traverse an entire AST, where op is invoked on each AST node to gather information.

TransformAstTraverse

Traverse and transform an entire AST, where op is invoked to transform each sub‐Tree.

Created with MrDocs