CsFixedPointDeclarator Struct Reference

Fixed point declarator AST node. More...

Inheritance diagram for CsFixedPointDeclarator:

CsNode List of all members.

Public Member Functions

 CsFixedPointDeclarator ()
 CsFixedPointDeclarator (LineInfo line_info)
virtual ~CsFixedPointDeclarator ()
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

CS_GET_NODES PHashString identifier
 Fixed point variable name.
CsExpressionexpression
 Expression assigned to variable.
CsEntityLocalVariableentity
 Local variable entity.
CsTokenIndex separator_token
CsTokenIndex identifier_token
CsTokenIndex assign_token

Detailed Description

Fixed point declarator AST node.

EBNF grammar:

fixed-pointer-declarator:
  identifier "=" fixed-pointer-initializer

fixed-pointer-initializer:
  "&" variable-reference
  expression


Constructor & Destructor Documentation

CsFixedPointDeclarator::CsFixedPointDeclarator  )  [inline]
 

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

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


Member Function Documentation

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

Collect entities defined in this AST node.

Implements CsNode.

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

Collect entity references.

Implements CsNode.

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

Collect token indexes associated with this AST node.

Implements CsNode.

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

Recusively collect token indexes in source code order.

Implements CsNode.

virtual void CsFixedPointDeclarator::build_entities CsDisplay &  display  )  [virtual]
 

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

Implements CsNode.

virtual void CsFixedPointDeclarator::clearEntities  )  [virtual]
 

Clear all entity references (for internal purpose only).

Implements CsNode.

virtual void CsFixedPointDeclarator::member_lookup CsDisplay &  display  )  [virtual]
 

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

Implements CsNode.

virtual void CsFixedPointDeclarator::type_lookup CsDisplay &  display  )  [virtual]
 

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

Implements CsNode.


Member Data Documentation

CsTokenIndex CsFixedPointDeclarator::assign_token
 

CsEntityLocalVariable* CsFixedPointDeclarator::entity
 

Local variable entity.

CsExpression* CsFixedPointDeclarator::expression
 

Expression assigned to variable.

CS_GET_NODES PHashString CsFixedPointDeclarator::identifier
 

Fixed point variable name.

CsTokenIndex CsFixedPointDeclarator::identifier_token
 

CsTokenIndex CsFixedPointDeclarator::separator_token
 

© 2005 metaspec