Piethon
1.0
A Python-like interpreter using flex and bison.
symbolTable.h
Go to the documentation of this file.
1
#ifndef SYMBOLTABLE_H
2
#define SYMBOLTABLE_H
3
4
#include <map>
5
#include <string>
6
#include "
number.h
"
7
8
using
std::map;
9
using
std::string;
10
11
class
SymbolTable
{
12
public
:
13
Number
operator[]
(
const
string
&)
const
;
14
Number
&
operator[]
(
const
string
&);
15
16
private
:
17
map<string,Number> symTable;
18
};
19
20
#endif
SymbolTable
Definition:
symbolTable.h:11
number.h
SymbolTable::operator[]
Number operator[](const string &) const
Definition:
symbolTable.cpp:4
Number
Definition:
number.h:21
Generated on Tue Jan 19 2021 23:43:11 for Piethon by
1.8.13