Public Member Functions | Public Attributes | Private Attributes

SymbolTable::Entry Class Reference

#include <symtab.h>

List of all members.

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


Private Attributes

const std::string name
const symb_type type

Constructor & Destructor Documentation

SymbolTable::Entry::Entry ( const std::string  new_id,
const symb_type  new_type,
ModelComp new_mc 
) [inline]

Member Function Documentation

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]

Whether this entry is of type t.

References type.

Referenced by yyparse().

Member Data Documentation

Referenced by yyparse().

const std::string SymbolTable::Entry::name [private]

Referenced by id().

Referenced by isType().

The documentation for this class was generated from the following file: