#include <symtab.h>
Public Member Functions | |
Entry (const std::string new_id, const symb_type new_type, ModelComp *new_mc) | |
const std::string & | id () const |
Retrieve the identifier for this entry. | |
bool | isType (symb_type t) const |
Whether this entry is of type t. | |
Public Attributes | |
ModelComp * | mc |
Private Attributes | |
const std::string | name |
const symb_type | type |
SymbolTable::Entry::Entry | ( | const std::string | new_id, | |
const symb_type | new_type, | |||
ModelComp * | new_mc | |||
) | [inline] |
const std::string& SymbolTable::Entry::id | ( | ) | const [inline] |
Retrieve the identifier for this entry.
References name.
bool SymbolTable::Entry::isType | ( | symb_type | t | ) | const [inline] |
Referenced by yyparse().
const std::string SymbolTable::Entry::name [private] |
Referenced by id().
const symb_type SymbolTable::Entry::type [private] |
Referenced by isType().