aboutsummaryrefslogtreecommitdiff
path: root/compilador/astree/expr.py
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-11-25 21:31:49 -0600
committerIván Ávalos <avalos@disroot.org>2022-11-25 21:31:49 -0600
commit6623f6c35f08b08a1e4dddfc3209acdaa57dcc8d (patch)
treee9cb2ee8e933c1b629d73125bfedf1e6daac5d25 /compilador/astree/expr.py
parent6b27930ef9c3eaede8d0c283ffa8376c40145f80 (diff)
downloadjavanol-6623f6c35f08b08a1e4dddfc3209acdaa57dcc8d.tar.gz
javanol-6623f6c35f08b08a1e4dddfc3209acdaa57dcc8d.tar.bz2
javanol-6623f6c35f08b08a1e4dddfc3209acdaa57dcc8d.zip
Se añaden Graphable faltante
Diffstat (limited to 'compilador/astree/expr.py')
-rw-r--r--compilador/astree/expr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilador/astree/expr.py b/compilador/astree/expr.py
index b696d51..f4d150c 100644
--- a/compilador/astree/expr.py
+++ b/compilador/astree/expr.py
@@ -197,7 +197,7 @@ class PrintExpr(Graphable):
#
# leer a
@dataclass
-class ReadExpr:
+class ReadExpr(Graphable):
expr: AccessExpr
def graph(self, dot: gv.Digraph, parent: str = None, edge: str = None) -> None:
@@ -210,7 +210,7 @@ class ReadExpr:
#
# retorna a
@dataclass
-class ReturnExpr:
+class ReturnExpr(Graphable):
expr: Optional[Expr]
def graph(self, dot: gv.Digraph, parent: str = None, edge: str = None) -> None: