CsUsingAliasDirective Struct Reference

Using-alias-directive AST node. More...

Inheritance diagram for CsUsingAliasDirective:

CsUsingDirective CsNode List of all members.

Public Member Functions

 CsUsingAliasDirective ()
 CsUsingAliasDirective (LineInfo line_info)
virtual ~CsUsingAliasDirective ()
virtual void build_entities (CsDisplay &display)
 Build Entities - pass 2 (for internal purpose only).
virtual void type_lookup (CsDisplay &display)
 Type Lookup - pass 3 (for internal purpose only).
virtual void member_lookup (CsDisplay &display)
 Member Lookup - pass 4 (for internal purpose only).
virtual void addTokensRecursive (CsTokenCollector &tokenCollector)
 Recusively collect token indexes in source code order.
virtual void addTokens (CsTokenCollector &tokenCollector)
 Collect token indexes associated with this AST node.
virtual void addEntityDefinitions (CsEntityCollector &tokenCollector)
 Collect entities defined in this AST node.
virtual void addEntityReferences (CsEntityCollector &tokenCollector)
 Collect entity references.
virtual void clearEntities ()
 Clear all entity references (for internal purpose only).

Public Attributes

PHashString identifier
 Alias name (used only for using-alias-directive).
CsCompoundIdentifier namespace_or_type_name
 Namespace or type compound name on which using directive refers.
CsEntitynamespace_or_type_entity
 Namespace or Type entity on which using directive refers.
CsTokenIndex identifier_token
CsTokenIndex assign_token
CsUsingAliasDirectiveusing_directive_used_in_type_lookup

Detailed Description

Using-alias-directive AST node.

EBNF grammar:

using-alias-directive:
  "using" identifier "=" namespace-or-type-name ";"


Constructor & Destructor Documentation

CsUsingAliasDirective::CsUsingAliasDirective  )  [inline]
 

CsUsingAliasDirective::CsUsingAliasDirective LineInfo  line_info  )  [inline, explicit]
 

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


Member Function Documentation

virtual void CsUsingAliasDirective::addEntityDefinitions CsEntityCollector tokenCollector  )  [virtual]
 

Collect entities defined in this AST node.

Implements CsNode.

virtual void CsUsingAliasDirective::addEntityReferences CsEntityCollector tokenCollector  )  [virtual]
 

Collect entity references.

Implements CsNode.

virtual void CsUsingAliasDirective::addTokens CsTokenCollector tokenCollector  )  [virtual]
 

Collect token indexes associated with this AST node.

Implements CsNode.

virtual void CsUsingAliasDirective::addTokensRecursive CsTokenCollector tokenCollector  )  [virtual]
 

Recusively collect token indexes in source code order.

Implements CsNode.

virtual void CsUsingAliasDirective::build_entities CsDisplay &  display  )  [inline, virtual]
 

Build Entities - pass 2 (for internal purpose only).

Implements CsNode.

virtual void CsUsingAliasDirective::clearEntities  )  [virtual]
 

Clear all entity references (for internal purpose only).

Implements CsNode.

virtual void CsUsingAliasDirective::member_lookup CsDisplay &  display  )  [inline, virtual]
 

Member Lookup - pass 4 (for internal purpose only).

Implements CsNode.

virtual void CsUsingAliasDirective::type_lookup CsDisplay &  display  )  [inline, virtual]
 

Type Lookup - pass 3 (for internal purpose only).

Implements CsNode.


Member Data Documentation

CsTokenIndex CsUsingAliasDirective::assign_token
 

PHashString CsUsingAliasDirective::identifier
 

Alias name (used only for using-alias-directive).

CsTokenIndex CsUsingAliasDirective::identifier_token
 

CsEntity* CsUsingAliasDirective::namespace_or_type_entity
 

Namespace or Type entity on which using directive refers.

CsCompoundIdentifier CsUsingAliasDirective::namespace_or_type_name
 

Namespace or type compound name on which using directive refers.

CsUsingAliasDirective* CsUsingAliasDirective::using_directive_used_in_type_lookup
 

Using-directive used in type lookup (for C# transformation parser only).
This field was introduced for rename refactoring support.

© 2005 metaspec