CsScopeNodeWithUsingDirectives Struct Reference

Base class for AST scope nodes containing using directives. More...

Inheritance diagram for CsScopeNodeWithUsingDirectives:

CsScopeNode CsNode CsCompilationUnit CsNamespace List of all members.

Public Member Functions

 CsScopeNodeWithUsingDirectives (cs_node type)
 CsScopeNodeWithUsingDirectives (cs_node type_, CsNode *parent)
 CsScopeNodeWithUsingDirectives (cs_node type, LineInfo line_info)
 CsScopeNodeWithUsingDirectives (cs_node type_, LineInfo line_info, CsNode *parent)
virtual ~CsScopeNodeWithUsingDirectives ()
virtual void clearEntities ()
 Clear all entity references (for internal purpose only).

Public Attributes

CS_GET_NODES FastArray< CsUsingDirective * > using_directives
 Using directives.
CsScopeTablealiases
bool bUsingDirectivesResolved
 Internal flag.

Detailed Description

Base class for AST scope nodes containing using directives.


Constructor & Destructor Documentation

CsScopeNodeWithUsingDirectives::CsScopeNodeWithUsingDirectives cs_node  type  )  [inline, explicit]
 

CsScopeNodeWithUsingDirectives::CsScopeNodeWithUsingDirectives cs_node  type_,
CsNode parent
[inline]
 

CsScopeNodeWithUsingDirectives::CsScopeNodeWithUsingDirectives cs_node  type,
LineInfo  line_info
[inline]
 

CsScopeNodeWithUsingDirectives::CsScopeNodeWithUsingDirectives cs_node  type_,
LineInfo  line_info,
CsNode parent
[inline]
 

virtual CsScopeNodeWithUsingDirectives::~CsScopeNodeWithUsingDirectives  )  [inline, virtual]
 


Member Function Documentation

virtual void CsScopeNodeWithUsingDirectives::clearEntities  )  [virtual]
 

Clear all entity references (for internal purpose only).

Reimplemented from CsScopeNode.

Reimplemented in CsNamespace, and CsCompilationUnit.


Member Data Documentation

CsScopeTable* CsScopeNodeWithUsingDirectives::aliases
 

Scope containing using-alias-directives.
WARNING:
transformation parser store pointers to using alias directives, use reinterpret_cast to convert CsEntity pointer to CsUsingAliasDirective pointer.
compilation parser store pointers to entities on which using alias directives refers.

bool CsScopeNodeWithUsingDirectives::bUsingDirectivesResolved
 

Internal flag.

CS_GET_NODES FastArray<CsUsingDirective*> CsScopeNodeWithUsingDirectives::using_directives
 

Using directives.

© 2005 metaspec