CGenvar Class Reference
Declaration object for genvars.
More...
#include <cgenvar.h>
List of all members.
Detailed Description
Declaration object for genvars.
Constructor & Destructor Documentation
Create a genvar declaration.
- Parameters:
-
| symbol | name of declaration. |
| aLoc | file coordinates of declaration. |
Member Function Documentation
Create a clone of this declaration.
- Parameters:
-
| heap | heap to use for allocation. |
- Returns:
- new declaration.
Implements CDecl.
Deep copy of declaration.
- Parameters:
-
| heap | heap to use for allocation. |
| d | declaration to copy. |
virtual void CGenvar::Dump |
( |
FILE * |
f |
) |
[virtual] |
Dump genvar info to file descriptor.
- Parameters:
-
Reimplemented from CDecl.
virtual NodeType_t CGenvar::GetNodeType |
( |
void |
|
) |
[inline, virtual] |
Get node type of declaration.
- Returns:
- node type, always signed vector.
Reimplemented from CDecl.
virtual INT32 CGenvar::GetWidth |
( |
void |
|
) |
[inline, virtual] |
Get width of declaration.
- Returns:
- node width, always 32.
Reimplemented from CDecl.
virtual CNode* CGenvar::GetWidthExp |
( |
void |
|
) |
[inline, virtual] |
Get expression representing genvar width.
- Returns:
- width expression.
Reimplemented from CDecl.
virtual int CGenvar::IsWidthEvaluateable |
( |
void |
|
) |
[inline, virtual] |
Determine if width is evaluateable.
- Returns:
- always return TRUE.
Reimplemented from CDecl.
The documentation for this class was generated from the following file:
- /net/fileserver/nas/home/mdh/vrq/src/cgenvar.h