![]() |
|
Declaration object for variables. More...
#include <cvar.h>
Public Member Functions | |
| CVar (CSymbol *symbol, Coord_t *aLoc, CDataType *dataType, int undefined=FALSE) | |
| Create a register declaration. | |
| virtual CDecl * | Clone (CObstack *heap) |
| Create a clone of this declaration. | |
| int | GetUndefined (void) |
| Get undefined attribute. | |
| void | SetUndefined (int value) |
| Set undefined attribute. | |
| virtual void | Dump (FILE *f) |
| Dump register info to file. | |
Protected Member Functions | |
| void | Copy (CObstack *heap, CVar &var) |
Declaration object for variables.
Create a register declaration.
| symbol | declaration symbol. | |
| aLoc | file coordinates. | |
| dataType | variable data type. | |
| undefined | non-zero if register is undefined in source. |
Create a clone of this declaration.
| heap | heap to use for allocation. |
Implements CDecl.
| virtual void CVar::Dump | ( | FILE * | f | ) | [virtual] |
| int CVar::GetUndefined | ( | void | ) | [inline] |
Get undefined attribute.
| void CVar::SetUndefined | ( | int | value | ) | [inline] |
Set undefined attribute.
| value | set undefined attribute. |
1.7.1