ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AST_FileIO Namespace Reference

This Namespace supports the file I/O for the AST. More...

Functions

SgNodeIS_VALID_POINTER ()
 This function returns a static pointer used with SgNode::p_freepointer. More...
 
SgNodeTO_BE_COPIED_POINTER ()
 Similar value as above function for reprentation of subsets of the AST. More...
 

Detailed Description

This Namespace supports the file I/O for the AST.

Function Documentation

SgNode* AST_FileIO::IS_VALID_POINTER ( )

This function returns a static pointer used with SgNode::p_freepointer.

This function returns returns an internally held (function local data) static pointer value used by SgNode::p_freepointer to identify non-NULL value representing valid IR node in memory pool. A NULL pointer represents last entry in the memory pool. This value allows us to distinguish the entries, and not require additional memory storage on each IR node.

Referenced by AST_FILE_IO::MemoryCheckingTraversalForAstFileIO::visit().

SgNode* AST_FileIO::TO_BE_COPIED_POINTER ( )

Similar value as above function for reprentation of subsets of the AST.