Semantic information object about values in the syntax tree.
More...
#include <Puma/CSemValue.h>
Detailed Description
Semantic information object about values in the syntax tree.
Provides the value and type of an expression or entity (name).
Constructor & Destructor Documentation
Puma::CSemValue::CSemValue |
( |
| ) |
|
|
inline |
Puma::CSemValue::~CSemValue |
( |
| ) |
|
|
inlinevirtual |
Destructor.
Frees the type and value.
Member Function Documentation
Get the type of the value.
Get the semantic information about the value.
void Puma::CSemValue::setType |
( |
CTypeInfo * |
t | ) |
|
|
inline |
Set the type information object.
Will be freed in the destructor.
- Parameters
-
void Puma::CSemValue::setTypeRef |
( |
CTypeInfo * |
t | ) |
|
|
inline |
Set the type information object as reference.
Will not be destroyed in the destructor.
- Parameters
-
Set the semantic value information object.
Will be freed in the destructor.
- Parameters
-
void Puma::CSemValue::setValueRef |
( |
CExprValue * |
v | ) |
|
|
inline |
Set the semantic value information object as reference.
Will not be destroyed in the destructor.
- Parameters
-
Member Data Documentation
The type information object.
The semantic value information object.