In file symboltable.hpp:

class BaseSymbolTable

Base class for generic SymbolTable.

Documentation

Base class for generic SymbolTable. Maintains the array of identifiers.

Inheritance:


Public Methods

[more] BaseSymbolTable()
[more] ~BaseSymbolTable()
deletes identifiers
[more]void DelNames()
delete all symbols
[more]void AppendName(const char* name)
append new name (copy)
[more]int Index(const char* name) const
Index of symbol name, throws exception if unsued
[more]int CheckIndex(const char* name) const
Index of symbol name, returns -1 if unused

Protected Fields

[more]ARRAY<char*> names
identifiers

oARRAY<char*> names
identifiers

o BaseSymbolTable()

o ~BaseSymbolTable()
deletes identifiers

ovoid DelNames()
delete all symbols

ovoid AppendName(const char* name)
append new name (copy)

oint Index(const char* name) const
Index of symbol name, throws exception if unsued

oint CheckIndex(const char* name) const
Index of symbol name, returns -1 if unused


Direct child classes:
SymbolTable

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.