ANTLR Support Libraries 2.7.1+
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
ASTRef Struct Reference

#include <ASTRefCount.hpp>

Collaboration diagram for ASTRef:
Collaboration graph
[legend]

Public Member Functions

 ASTRef (AST *p)
 
 ~ASTRef ()
 
ASTRefincrement ()
 
bool decrement ()
 

Static Public Member Functions

static ASTRefgetRef (const AST *p)
 

Public Attributes

AST *const ptr
 
unsigned int count
 

Private Member Functions

 ASTRef (const ASTRef &)
 
ASTRefoperator= (const ASTRef &)
 

Constructor & Destructor Documentation

◆ ASTRef() [1/2]

ASTRef::ASTRef ( AST p)

◆ ~ASTRef()

ASTRef::~ASTRef ( )

◆ ASTRef() [2/2]

ASTRef::ASTRef ( const ASTRef )
private

Member Function Documentation

◆ decrement()

bool ASTRef::decrement ( )
inline

◆ getRef()

ASTRef * ASTRef::getRef ( const AST p)
static

◆ increment()

ASTRef* ASTRef::increment ( )
inline

◆ operator=()

ASTRef& ASTRef::operator= ( const ASTRef )
private

Member Data Documentation

◆ count

unsigned int ASTRef::count

◆ ptr

AST* const ASTRef::ptr

The documentation for this struct was generated from the following files: