List of all members.
Detailed Description
Declaration object for module and gate instances.
Constructor & Destructor Documentation
Create an instance.
- Parameters:
-
| aSymbol | name of instance. |
| definition | module decl for udp/module instantiation |
| parameters | list of parameters. |
| arguments | list of arguments. |
| aLoc | file coordinates of instance. |
Member Function Documentation
Create a clone of this declaration.
- Parameters:
-
| heap | heap to use for allocation. |
- Returns:
- new declaration.
Implements CDecl.
virtual void CInstance::Dump |
( |
FILE * |
f |
) |
[virtual] |
Dump instance info to file descriptor.
- Parameters:
-
Reimplemented from CDecl.
CNode* CInstance::GetArguments |
( |
void |
|
) |
|
Get instance arguments.
- Returns:
- instance arguments.
vector<CNode*>* CInstance::GetArgumentVector |
( |
void |
|
) |
|
Get array of argument nodes.
- Returns:
- pointer to vector containing argument nodes.
CModule* CInstance::GetDefinition |
( |
void |
|
) |
|
Get module definition.
- Returns:
- module definition for instance.
CNode* CInstance::GetParameters |
( |
void |
|
) |
|
Get instance parameters.
- Returns:
- list of parameters.
int CInstance::IsGate |
( |
|
) |
[inline] |
Determine if instance is a gate.
- Returns:
- non-zero if instance is a gate.
void CInstance::SetArguments |
( |
CNode * |
n |
) |
|
Set instance arguments.
- Parameters:
-
void CInstance::SetParameters |
( |
CNode * |
param |
) |
|
Set instance parameters.
- Parameters:
-
| param | instance parameters. |
The documentation for this class was generated from the following file: