AALanguage
The best language for those who have nothing to do
|
A class to represent a variable. More...
#include <TableIdentifiers.h>
Public Member Functions | |
Identifier (std::string name_, Type type_, void *value_=nullptr) | |
A constructor that specifies the public fields of the type. | |
bool | operator== (const Identifier &other) const |
Type comparison operator. | |
Public Attributes | |
std::string | name |
Variable name. | |
Type | type |
Standart expression type. | |
void * | value |
Pointer to a value stored in the executor memory. | |
A class to represent a variable.
Definition at line 84 of file TableIdentifiers.h.
|
inline |
A constructor that specifies the public fields of the type.
Definition at line 94 of file TableIdentifiers.h.
|
inline |
Type comparison operator.
Compares all public attributes.
other | Another identifier to compare. |
Definition at line 106 of file TableIdentifiers.h.
References type.
std::string Identifier::name |
Variable name.
Definition at line 86 of file TableIdentifiers.h.
Referenced by Semantic::add_identifier(), Poliz::address_to_value(), Poliz::copy_value(), Identifier(), Analyzer::var_definition(), and Analyzer::var_definitions().
Type Identifier::type |
Standart expression type.
Definition at line 88 of file TableIdentifiers.h.
Referenced by Poliz::address_to_value(), Poliz::copy_value(), Analyzer::field(), Identifier(), operator==(), Analyzer::var_definition(), and Analyzer::var_definitions().
void* Identifier::value |
Pointer to a value stored in the executor memory.
Definition at line 90 of file TableIdentifiers.h.
Referenced by Poliz::address_to_value(), Poliz::copy_value(), Identifier(), Analyzer::var_definition(), and Analyzer::var_definitions().