-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHashtable.py
More file actions
15 lines (14 loc) · 740 Bytes
/
Copy pathHashtable.py
File metadata and controls
15 lines (14 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# | ------------------------------ TABLA DE SIMBOLOS --------------------------------------|
# | (variables) con su Nombre, la profundidad/número de registro, arreglo de las |
# | lineas en donde la variable tiene una aparición, su valor (Cambiante de acuerdo a como |
# | va corriendo su compilación, el tipo de variable (boolean, int, real) y el Nodo (no es necesario)
# | ---------------------------------------------------------------------------------------|
class Symbol:
pass
def __init__(self, name=None, deep=None, line=[], val=None, dtype=None, node=None):
self.name = name
self.deep = deep
self.lines = line
self.val = val
self.dtype = dtype
self.Node = node