List of all members.
Detailed Description
Declaration class for block constructs.
Constructor & Destructor Documentation
Constructor for BLOCK declarations.
- Parameters:
-
| name | name of block. |
| aLoc | file coordinates of block. |
Constructor for BLOCK declarations.
- Parameters:
-
| name | name of block. |
| aLoc | file coordinates of block. |
| dtype | block type. |
virtual CBlock::~CBlock |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual void CBlock::Add |
( |
CInstance * |
instance |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add instance to block.
- Parameters:
-
| instance | pointer to block object |
Reimplemented in CModule.
virtual void CBlock::Add |
( |
CNet * |
net |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add net to block.
- Parameters:
-
| net | pointer to net object |
Reimplemented in CModule.
virtual void CBlock::Add |
( |
CGenvar * |
genvar |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add genvar to this block.
- Parameters:
-
| genvar | pointer to genvar reference object |
virtual void CBlock::Add |
( |
CNode * |
code |
) |
[virtual] |
Add parse tree code to this block.
- Parameters:
-
| code | pointer to parse tree |
Reimplemented in CModule.
virtual void CBlock::Add |
( |
CVar * |
var |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add register to block.
- Parameters:
-
| var | pointer to variable object |
Reimplemented in CModule.
virtual void CBlock::Add |
( |
CParam * |
param |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add parameter to block.
- Parameters:
-
| param | pointer to parameter object |
Reimplemented in CModule.
virtual void CBlock::Add |
( |
CBlock * |
child |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add child block to this block.
- Parameters:
-
| child | pointer to child block object |
virtual void CBlock::Add |
( |
CFref * |
fref |
) |
[virtual] |
- Todo:
- This routine will eventually be eliminated.
Currently the construct must be added with this routine as well as by adding a node to the code tree.
Add forward reference to this block.
- Parameters:
-
| fref | pointer to forward reference object |
Reimplemented in CModule.
virtual CDecl* CBlock::Clone |
( |
CObstack * |
heap |
) |
[inline, virtual] |
Create a clone of this declaration.
- Parameters:
-
| heap | heap to use for allocation. |
- Returns:
- new declaration.
Implements CDecl.
Reimplemented in CModule.
virtual void CBlock::Dump |
( |
FILE * |
f |
) |
[virtual] |
Dump information about block to a file.
- Parameters:
-
| f | file descriptor to output. |
Reimplemented from CDecl.
Reimplemented in CSpecify, CModule, and CFunction.
vector<CBlock*>* CBlock::GetChildList |
( |
|
) |
|
Get list of block's child blocks.
- Returns:
- array of child block objects.
virtual CNode* CBlock::GetCodeList |
( |
|
) |
[virtual] |
Get blocks parse tree.
- Returns:
- parse tree.
vector<CGenvar*>* CBlock::GetGenvarList |
( |
|
) |
|
Get list of object's genvars.
- Returns:
- array of genvar objects.
vector<CNet*>* CBlock::GetNetList |
( |
|
) |
|
Get list of object's nets.
- Returns:
- array of net objects.
vector<CParam*>* CBlock::GetParamList |
( |
|
) |
|
Get list of object's parameters.
- Returns:
- array of parameter objects.
CBlock* CBlock::GetParent |
( |
void |
|
) |
|
Get this block's parent block.
- Returns:
- pointer to parent block object.
virtual vector<CPortDir*>* CBlock::GetPortDirList |
( |
|
) |
[inline, virtual] |
Get list of block's port declarations.
- Returns:
- array of port direction objects.
Reimplemented in CModule, and CFunction.
virtual CSymtab<CDecl>& CBlock::GetSymtab |
( |
|
) |
[inline, virtual] |
Get block's symbol table.
- Returns:
- reference to block's symbol table.
vector<CVar*>* CBlock::GetVarList |
( |
|
) |
|
Get list of object's registers.
- Returns:
- array of register objects.
virtual void CBlock::SetCodeList |
( |
CNode * |
list |
) |
[virtual] |
Set block's parse tree.
- Parameters:
-
void CBlock::SetParent |
( |
CBlock * |
parent |
) |
|
Set this block's parent block.
- Parameters:
-
| parent | pointer to parent block object. |
virtual void CBlock::SetSymtab |
( |
CSymtab< CDecl > & |
symtab |
) |
[virtual] |
Set block's symbol table.
- Parameters:
-
| symtab | reference to new symbol table. |
Member Data Documentation
The documentation for this class was generated from the following file:
- /net/fileserver/nas/home/mdh/vrq/src/cblock.h