Skip to content

AstNodePtr

Synopsis

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

class AstNodePtr;

Types

Name

BaseType

Enums

Name

Description

SpecialAstType

The UNKNOWN_AST and NULL_AST types have null as their values. The other types have concrete BaseType pointers as their values.

Member Functions

Name

Description

AstNodePtr [constructor]

Constructors

~AstNodePtr [destructor]

Destructor

operator=

Copy assignment operator

get_ptr

get_signature

get_type

is_null

is_sage_ast

is_unknown

is_unknown_function_call

is_unknown_reference

operator‐>

set_is_unknown_function_call

set_is_unknown_reference

operator==

Equality operators

operator!=

Inequality operators

operator<

Less‐than operator

Private Data Members

Non-Member Functions

Name

Description

TransformAstTraverse

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

AstUtilInterface::GetVariableSignature

Returns a string that uniquely identifies the given variable. If provided with a dict_table, save the file name and line number for the signature.

Created with MrDocs